@ensforge/core 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/action/index.d.ts +1 -1
- package/dist/actions/batch/execute-write-plan.d.ts.map +1 -1
- package/dist/actions/batch/execute-write-plan.js +20 -2
- package/dist/actions/batch/execute-write-plan.js.map +1 -1
- package/dist/actions/batch/get-wallet-capabilities.d.ts +1 -1
- package/dist/actions/capabilities/get-name-capabilities/index.d.ts +1 -1
- package/dist/actions/capabilities/get-operator-approval/index.d.ts +1 -1
- package/dist/actions/capabilities/get-record-permissions/index.d.ts.map +1 -1
- package/dist/actions/capabilities/get-record-permissions/index.js +13 -1
- package/dist/actions/capabilities/get-record-permissions/index.js.map +1 -1
- package/dist/actions/capabilities/get-required-authorization/index.d.ts +1 -1
- package/dist/actions/capabilities/get-resolver-capabilities/index.d.ts +1 -1
- package/dist/actions/capabilities/get-write-target/index.d.ts +1 -1
- package/dist/actions/dns/get-dns-claim-status/index.d.ts +1 -1
- package/dist/actions/dns/get-dns-import-plan/index.d.ts +1 -1
- package/dist/actions/dns/get-zone-hash/index.d.ts +1 -1
- package/dist/actions/dns/has-dns-records/index.d.ts +1 -1
- package/dist/actions/dns/types.d.ts +3 -3
- package/dist/actions/dns/types.d.ts.map +1 -1
- package/dist/actions/dns/types.js.map +1 -1
- package/dist/actions/events/get-ens-events/index.d.ts +4 -4
- package/dist/actions/events/get-name-history/index.d.ts +4 -4
- package/dist/actions/events/types.d.ts +1 -1
- package/dist/actions/index.d.ts +25 -25
- package/dist/actions/migration/mutation.js +1 -1
- package/dist/actions/name/get-expiry/types.d.ts +2 -2
- package/dist/actions/name/get-name-state/types.d.ts +2 -2
- package/dist/actions/name/get-owner/index.d.ts +1 -1
- package/dist/actions/name/get-owner/types.d.ts +2 -2
- package/dist/actions/records/get-abi/types.d.ts +2 -2
- package/dist/actions/records/get-address/types.d.ts +2 -2
- package/dist/actions/records/get-avatar/types.d.ts +2 -2
- package/dist/actions/records/get-content-hash/types.d.ts +2 -2
- package/dist/actions/records/get-data/types.d.ts +2 -2
- package/dist/actions/records/get-interface/types.d.ts +2 -2
- package/dist/actions/records/get-name/types.d.ts +2 -2
- package/dist/actions/records/get-pubkey/types.d.ts +2 -2
- package/dist/actions/records/get-records/types.d.ts +3 -3
- package/dist/actions/records/get-text/types.d.ts +2 -2
- package/dist/actions/records/set-records/index.js +1 -1
- package/dist/actions/registration/get-commitment-status/index.d.ts +1 -1
- package/dist/actions/registration/get-registration-parameters/index.d.ts +1 -1
- package/dist/actions/registration/get-registration-plan/index.d.ts +9 -9
- package/dist/actions/registration/get-registration-price/index.d.ts +9 -9
- package/dist/actions/registration/get-renewal-price/index.d.ts +9 -9
- package/dist/actions/registration/is-payment-token-supported/index.d.ts +1 -1
- package/dist/actions/registration/renew-names/index.js +2 -2
- package/dist/actions/registration/renew-names/index.js.map +1 -1
- package/dist/actions/registration/renewal-mutation.d.ts +0 -1
- package/dist/actions/registration/renewal-mutation.d.ts.map +1 -1
- package/dist/actions/registration/renewal-mutation.js +27 -71
- package/dist/actions/registration/renewal-mutation.js.map +1 -1
- package/dist/actions/registration/types.d.ts +3 -3
- package/dist/actions/registration/types.d.ts.map +1 -1
- package/dist/actions/registration/types.js.map +1 -1
- package/dist/actions/resolution/create-resolver/index.d.ts +2 -0
- package/dist/actions/resolution/create-resolver/index.d.ts.map +1 -1
- package/dist/actions/resolution/create-resolver/index.js +39 -21
- package/dist/actions/resolution/create-resolver/index.js.map +1 -1
- package/dist/actions/resolution/create-resolver/prepare.d.ts.map +1 -1
- package/dist/actions/resolution/create-resolver/prepare.js +7 -5
- package/dist/actions/resolution/create-resolver/prepare.js.map +1 -1
- package/dist/actions/resolution/get-alias/index.d.ts.map +1 -1
- package/dist/actions/resolution/get-alias/index.js.map +1 -1
- package/dist/actions/resolution/get-resolver/types.d.ts +2 -2
- package/dist/actions/resolution/get-resolver-version/index.d.ts +1 -1
- package/dist/actions/resolution/resolve/types.d.ts +2 -2
- package/dist/actions/resolution/resolve-batch/index.d.ts +1 -1
- package/dist/actions/resolution/set-resolver/index.js +1 -1
- package/dist/actions/resolution/upgrade-resolver/index.js +1 -1
- package/dist/actions/reverse/get-primary-name/types.d.ts +2 -2
- package/dist/actions/subnames/intents.js +4 -24
- package/dist/actions/subnames/intents.js.map +1 -1
- package/dist/actions/wrapping/intents.js +1 -1
- package/dist/batch.d.ts +10 -0
- package/dist/batch.js +11 -0
- package/dist/{actions/capabilities/index.d.ts → capabilities.d.ts} +15 -15
- package/dist/capabilities.js +17 -0
- package/dist/config/config.d.ts +2 -9
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js.map +1 -1
- package/dist/config/create-config.d.ts.map +1 -1
- package/dist/config/create-config.js +4 -56
- package/dist/config/create-config.js.map +1 -1
- package/dist/config/index.d.ts +2 -2
- package/dist/dns.d.ts +14 -0
- package/dist/dns.js +13 -0
- package/dist/errors/index.d.ts +2 -2
- package/dist/{actions/events/index.d.ts → events.d.ts} +4 -4
- package/dist/events.js +6 -0
- package/dist/index.d.ts +16 -16
- package/dist/index.js +3 -2
- package/dist/internal/config/create-config.js +54 -0
- package/dist/internal/config/create-config.js.map +1 -0
- package/dist/internal/errors/viem-error.d.ts +1 -1
- package/dist/internal/errors/write-error.js +6 -2
- package/dist/internal/errors/write-error.js.map +1 -1
- package/dist/internal/gateway/ccip-request.js +5 -1
- package/dist/internal/gateway/ccip-request.js.map +1 -1
- package/dist/internal/read/execution-context.d.ts +1 -1
- package/dist/internal/write/execute-sequential.js +41 -13
- package/dist/internal/write/execute-sequential.js.map +1 -1
- package/dist/internal/write/prepare-write-intents.js +1 -1
- package/dist/internal/write/resolver-write-action.js +1 -1
- package/dist/internal/write/resume-sequential.js +62 -0
- package/dist/internal/write/resume-sequential.js.map +1 -0
- package/dist/internal/write/single-write-action.js +1 -1
- package/dist/{actions/migration/index.d.ts → migration.d.ts} +8 -8
- package/dist/migration.js +10 -0
- package/dist/{actions/name/index.d.ts → name.d.ts} +18 -18
- package/dist/name.js +20 -0
- package/dist/{actions/ownership/index.d.ts → ownership.d.ts} +8 -8
- package/dist/ownership.js +8 -0
- package/dist/{actions/permissions/index.d.ts → permissions.d.ts} +12 -12
- package/dist/permissions.js +8 -0
- package/dist/{actions/records/index.d.ts → records.d.ts} +46 -46
- package/dist/records.js +34 -0
- package/dist/{actions/registration/index.d.ts → registration.d.ts} +15 -15
- package/dist/registration.js +16 -0
- package/dist/{actions/resolution/index.d.ts → resolution.d.ts} +20 -20
- package/dist/resolution.js +15 -0
- package/dist/{actions/reverse/index.d.ts → reverse.d.ts} +7 -7
- package/dist/reverse.js +8 -0
- package/dist/{actions/subnames/index.d.ts → subnames.d.ts} +5 -5
- package/dist/subnames.js +6 -0
- package/dist/testing/create-test-config.js +2 -2
- package/dist/wagmi/config.d.ts +9 -0
- package/dist/wagmi/config.d.ts.map +1 -0
- package/dist/wagmi/create-config.d.ts +7 -0
- package/dist/wagmi/create-config.d.ts.map +1 -0
- package/dist/wagmi/create-config.js +20 -0
- package/dist/wagmi/create-config.js.map +1 -0
- package/dist/wagmi.d.ts +3 -0
- package/dist/wagmi.js +3 -0
- package/dist/{actions/wrapping/index.d.ts → wrapping.d.ts} +10 -10
- package/dist/wrapping.js +7 -0
- package/dist/write/types.d.ts +2 -2
- package/package.json +25 -3
- package/dist/actions/batch/index.d.ts +0 -10
- package/dist/actions/dns/index.d.ts +0 -14
package/dist/actions/index.d.ts
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import { ReadBatch, ReadBatchError, ReadBatchOptions, ReadBatchOutcome, ReadBatchResult, ReadBatchSettled, ReadBatchSettledResult, readBatch, readBatchSettled } from "./batch/read-batch.js";
|
|
2
|
-
import { executeWritePlan } from "./batch/execute-write-plan.js";
|
|
3
|
-
import { estimateCalls } from "./batch/estimate-calls.js";
|
|
4
|
-
import { getWalletCapabilities } from "./batch/get-wallet-capabilities.js";
|
|
5
|
-
import { getCallsStatus } from "./batch/get-calls-status.js";
|
|
6
|
-
import { prepareCalls } from "./batch/prepare-calls.js";
|
|
7
|
-
import { sendCalls } from "./batch/send-calls.js";
|
|
8
|
-
import { resumeCalls } from "./batch/resume-calls.js";
|
|
9
|
-
import { simulateCalls } from "./batch/simulate-calls.js";
|
|
10
|
-
import "./batch/index.js";
|
|
11
2
|
import { AvailableNameState, GetNameStateError, GetNameStateParameters, NameState, NameStatus, V1UnwrappedNameState, V1WrappedNameState, V2MigratedNameState, V2NativeNameState, V2ReservedNameState } from "./name/get-name-state/types.js";
|
|
12
3
|
import { AccountCapabilityParameters, AuthorizationDecision, AuthorizationRequirement, AuthorizationSource, CapabilityError, HasRegistryRolesResult, HasResolverRolesResult, NameCapabilities, NameCapabilityParameters, OperatorApprovalResult, OperatorApprovalTarget, RecordOperation, RecordPermission, RecordPermissionsResult, RegistryCapabilities, RegistryOperation, RegistryRolesResult, RequiredAuthorizationResult, ResolverCapabilities, ResolverDelegateApprovalResult, ResolverProfiles, ResolverRolesResult, TokenApprovalResult, WrapperPermissionsResult, WriteOperation, WriteTarget } from "./capabilities/types.js";
|
|
13
4
|
import { GetNameCapabilitiesParameters, getNameCapabilities } from "./capabilities/get-name-capabilities/index.js";
|
|
@@ -24,8 +15,8 @@ import { getWrapperPermissions } from "./capabilities/get-wrapper-permissions/in
|
|
|
24
15
|
import { GetWriteTargetParameters, getWriteTarget } from "./capabilities/get-write-target/index.js";
|
|
25
16
|
import { HasRegistryRolesParameters, hasRegistryRoles } from "./capabilities/has-registry-roles/index.js";
|
|
26
17
|
import { HasResolverRolesParameters, hasResolverRoles } from "./capabilities/has-resolver-roles/index.js";
|
|
27
|
-
import "
|
|
28
|
-
import { ClaimDnsNameError, ClaimDnsNameIntent, ClaimDnsNameParameters, ClaimDnsNameResult, DnsClaimStatus, DnsImportPlan, DnsReadError, DnsRecordQuery, DnsRecordResult, DnsRecordsExistence, DnsRecordsResult, DnsResource, DnssecProof, DnssecProofChain, GetDnsRecordParameters, GetDnsRecordsParameters, ImportDnsNameError, ImportDnsNameParameters, ImportDnsNameResult, ZoneHashResult } from "./dns/types.js";
|
|
18
|
+
import "../capabilities.js";
|
|
19
|
+
import { ClaimDnsNameError, ClaimDnsNameIntent, ClaimDnsNameParameters, ClaimDnsNameResult, DnsClaimStatus, DnsImportPlan, DnsReadError, DnsRecordQuery, DnsRecordResult, DnsRecordsExistence, DnsRecordsResult, DnsResource, DnsWriteWalletParameters, DnssecProof, DnssecProofChain, GetDnsRecordParameters, GetDnsRecordsParameters, ImportDnsNameError, ImportDnsNameParameters, ImportDnsNameResult, ZoneHashResult } from "./dns/types.js";
|
|
29
20
|
import { claimDnsName } from "./dns/claim-dns-name/index.js";
|
|
30
21
|
import { importDnsName } from "./dns/import-dns-name/index.js";
|
|
31
22
|
import { SetDnsRecordsError, SetDnsRecordsParameters, SetDnsRecordsResult } from "./dns/set-dns-records/types.js";
|
|
@@ -38,12 +29,12 @@ import { getDnsRecord } from "./dns/get-dns-record/index.js";
|
|
|
38
29
|
import { getDnsRecords } from "./dns/get-dns-records/index.js";
|
|
39
30
|
import { GetZoneHashParameters, getZoneHash } from "./dns/get-zone-hash/index.js";
|
|
40
31
|
import { HasDnsRecordsParameters, hasDnsRecords } from "./dns/has-dns-records/index.js";
|
|
41
|
-
import "
|
|
32
|
+
import "../dns.js";
|
|
42
33
|
import { EnsEvent, EnsEventContractKind, EnsEventError, EnsEventKind, GetEnsEventsParameters, GetNameHistoryParameters, NameHistory, WatchEnsEventsParameters } from "./events/types.js";
|
|
43
34
|
import { getEnsEvents } from "./events/get-ens-events/index.js";
|
|
44
35
|
import { getNameHistory } from "./events/get-name-history/index.js";
|
|
45
36
|
import { WatchEnsEvents, watchEnsEvents } from "./events/watch-ens-events/index.js";
|
|
46
|
-
import "
|
|
37
|
+
import "../events.js";
|
|
47
38
|
import { ApproveMigrationParameters, ApproveMigrationResult, MigrateNameAction, MigrateNameCallParameters, MigrateNameParameters, MigrateNameResult, MigrateNamesParameters, MigrationBatchApproval, MigrationBatchEntry, MigrationBatchProgress, MigrationBlocker, MigrationEligibility, MigrationNameParameters, MigrationNameProgress, MigrationPlan, MigrationReadError, MigrationStatus, MigrationTarget, MigrationUnsupportedReason, MigrationValues, MigrationWalletParameters, MigrationWriteError } from "./migration/types.js";
|
|
48
39
|
import { GetMigrationEligibilityParameters, getMigrationEligibility } from "./migration/get-migration-eligibility/index.js";
|
|
49
40
|
import { GetMigrationPlanParameters, getMigrationPlan } from "./migration/get-migration-plan/index.js";
|
|
@@ -52,7 +43,7 @@ import { getMigrationTarget } from "./migration/get-migration-target/index.js";
|
|
|
52
43
|
import { migrateName } from "./migration/migrate-name/index.js";
|
|
53
44
|
import { migrateNames } from "./migration/migrate-names/index.js";
|
|
54
45
|
import { approveMigration } from "./migration/mutation.js";
|
|
55
|
-
import "
|
|
46
|
+
import "../migration.js";
|
|
56
47
|
import { ExpiryResult, ExpirySource, GetExpiryError, GetExpiryParameters } from "./name/get-expiry/types.js";
|
|
57
48
|
import { getExpiry } from "./name/get-expiry/index.js";
|
|
58
49
|
import { GetCanonicalResourceResult, getCanonicalResource } from "./name/get-canonical-resource/index.js";
|
|
@@ -70,7 +61,7 @@ import { isMigrated } from "./name/is-migrated/index.js";
|
|
|
70
61
|
import { isRenewable } from "./name/is-renewable/index.js";
|
|
71
62
|
import { isReserved } from "./name/is-reserved/index.js";
|
|
72
63
|
import { isWrapped } from "./name/is-wrapped/index.js";
|
|
73
|
-
import "
|
|
64
|
+
import "../name.js";
|
|
74
65
|
import { OwnershipWriteError, OwnershipWriteResult, ReclaimNameParameters, SetManagerParameters, SetTtlParameters, TransferNameError, TransferNameParameters, TransferNameProgress, TransferNameResult, TransferNameStrategy, TransferRegistrantParameters, TtlResult } from "./ownership/types.js";
|
|
75
66
|
import { getTtl } from "./ownership/get-ttl/index.js";
|
|
76
67
|
import { reclaimName } from "./ownership/reclaim-name/index.js";
|
|
@@ -78,7 +69,7 @@ import { setManager } from "./ownership/set-manager/index.js";
|
|
|
78
69
|
import { setTtl } from "./ownership/set-ttl/index.js";
|
|
79
70
|
import { transferName } from "./ownership/transfer-name/index.js";
|
|
80
71
|
import { transferRegistrant } from "./ownership/transfer-registrant/index.js";
|
|
81
|
-
import "
|
|
72
|
+
import "../ownership.js";
|
|
82
73
|
import { ApproveNameError, ApproveNameIntent, ApproveNameParameters, ApproveNameResult, ClearNameApprovalError, ClearNameApprovalIntent, ClearNameApprovalParameters, ClearNameApprovalResult } from "./permissions/name-approval/types.js";
|
|
83
74
|
import { approveName, clearNameApproval } from "./permissions/name-approval/index.js";
|
|
84
75
|
import { OperatorApprovalKind, SetOperatorApprovalError, SetOperatorApprovalIntent, SetOperatorApprovalParameters, SetOperatorApprovalResult } from "./permissions/operator-approval/types.js";
|
|
@@ -91,7 +82,7 @@ import { GrantResolverRolesError, GrantResolverRolesIntent, GrantResolverRolesPa
|
|
|
91
82
|
import { grantResolverRoles, grantResolverRootRoles, revokeResolverRoles, revokeResolverRootRoles } from "./permissions/resolver-roles/index.js";
|
|
92
83
|
import { AppliedRecordPermission, SetRecordPermissionsError, SetRecordPermissionsParameters, SetRecordPermissionsResult } from "./permissions/set-record-permissions/types.js";
|
|
93
84
|
import { setRecordPermissions } from "./permissions/set-record-permissions/index.js";
|
|
94
|
-
import "
|
|
85
|
+
import "../permissions.js";
|
|
95
86
|
import { AbiResult, GetAbiError, GetAbiParameters } from "./records/get-abi/types.js";
|
|
96
87
|
import { getAbi } from "./records/get-abi/index.js";
|
|
97
88
|
import { ClearRecordsError, ClearRecordsParameters, ClearRecordsResult } from "./records/clear-records/types.js";
|
|
@@ -138,8 +129,8 @@ import { SetNameError, SetNameParameters, SetNameResult } from "./records/set-na
|
|
|
138
129
|
import { setName } from "./records/set-name/index.js";
|
|
139
130
|
import { ClearAvatarError, ClearAvatarParameters, ClearAvatarResult, SetAvatarError, SetAvatarParameters, SetAvatarResult } from "./records/set-avatar/types.js";
|
|
140
131
|
import { clearAvatar, setAvatar } from "./records/set-avatar/index.js";
|
|
141
|
-
import "
|
|
142
|
-
import { ApprovePaymentTokenParameters, ApproveRenewalPaymentParameters, AvailableRegistrationPrice, CommitNameParameters, CommitmentStatus, CompleteRegistrationParameters, Erc20PaymentCurrency, NativePaymentCurrency, PaymentCurrency, PaymentTokenSupport, RegisterNameParameters, RegisterNameResult, RegisterNamesEntryParameters, RegisterNamesParameters, RegisterNamesResult, RegistrationCommitment, RegistrationCommitmentParameters, RegistrationParameters, RegistrationPlan, RegistrationPriceParameters, RegistrationPriceResult, RegistrationReadError, RegistrationWriteError, RegistrationWriteIntent, RegistrationWriteResult, RenewNameAction, RenewNameCallParameters, RenewNameParameters, RenewNameResult, RenewNamesEntryParameters, RenewNamesParameters, RenewNamesResult, RenewalApproval, RenewalPriceResult, RenewalRoute } from "./registration/types.js";
|
|
132
|
+
import "../records.js";
|
|
133
|
+
import { ApprovePaymentTokenParameters, ApproveRenewalPaymentParameters, AvailableRegistrationPrice, CommitNameParameters, CommitmentStatus, CompleteRegistrationParameters, Erc20PaymentCurrency, NativePaymentCurrency, PaymentCurrency, PaymentTokenSupport, RegisterNameParameters, RegisterNameResult, RegisterNamesEntryParameters, RegisterNamesParameters, RegisterNamesResult, RegistrationCommitment, RegistrationCommitmentParameters, RegistrationParameters, RegistrationPlan, RegistrationPriceParameters, RegistrationPriceResult, RegistrationReadError, RegistrationWalletParameters, RegistrationWriteError, RegistrationWriteIntent, RegistrationWriteResult, RenewNameAction, RenewNameCallParameters, RenewNameParameters, RenewNameResult, RenewNamesEntryParameters, RenewNamesParameters, RenewNamesResult, RenewalApproval, RenewalPriceResult, RenewalRoute } from "./registration/types.js";
|
|
143
134
|
import { GetCommitmentStatusParameters, getCommitmentStatus } from "./registration/get-commitment-status/index.js";
|
|
144
135
|
import { GetRegistrationParametersParameters, getRegistrationParameters } from "./registration/get-registration-parameters/index.js";
|
|
145
136
|
import { GetRegistrationPlanParameters, getRegistrationPlan } from "./registration/get-registration-plan/index.js";
|
|
@@ -153,7 +144,7 @@ import { registerNames } from "./registration/register-names/index.js";
|
|
|
153
144
|
import { renewName } from "./registration/renew-name/index.js";
|
|
154
145
|
import { renewNames } from "./registration/renew-names/index.js";
|
|
155
146
|
import { approveRenewalPayment } from "./registration/renewal-mutation.js";
|
|
156
|
-
import "
|
|
147
|
+
import "../registration.js";
|
|
157
148
|
import { CreateResolverError, CreateResolverIntent, CreateResolverParameters, CreateResolverResult } from "./resolution/create-resolver/types.js";
|
|
158
149
|
import { createResolver, predictResolverAddress } from "./resolution/create-resolver/index.js";
|
|
159
150
|
import { GetResolverError, GetResolverParameters, GetResolverResult } from "./resolution/get-resolver/types.js";
|
|
@@ -174,7 +165,7 @@ import { ResolveError, ResolveParameters, ResolveResult, ResolveWithResolverErro
|
|
|
174
165
|
import { resolve, resolveWithResolver } from "./resolution/resolve/index.js";
|
|
175
166
|
import { ResolveBatchCall, ResolveBatchError, ResolveBatchParameters, ResolveBatchResult } from "./resolution/resolve-batch/types.js";
|
|
176
167
|
import { resolveBatch } from "./resolution/resolve-batch/index.js";
|
|
177
|
-
import "
|
|
168
|
+
import "../resolution.js";
|
|
178
169
|
import { GetPrimaryNameError, GetPrimaryNameParameters, PrimaryNameResult } from "./reverse/get-primary-name/types.js";
|
|
179
170
|
import { getPrimaryName } from "./reverse/get-primary-name/index.js";
|
|
180
171
|
import { ClearPrimaryNameParameters, ReverseNameWriteError, ReverseNameWriteResult, SetContractPrimaryNameParameters, SetPrimaryNameForAddressParameters, SetPrimaryNameParameters } from "./reverse/types.js";
|
|
@@ -182,18 +173,27 @@ import { clearPrimaryName } from "./reverse/clear-primary-name/index.js";
|
|
|
182
173
|
import { setContractPrimaryName } from "./reverse/set-contract-primary-name/index.js";
|
|
183
174
|
import { setPrimaryName } from "./reverse/set-primary-name/index.js";
|
|
184
175
|
import { setPrimaryNameForAddress } from "./reverse/set-primary-name-for-address/index.js";
|
|
185
|
-
import "
|
|
176
|
+
import "../reverse.js";
|
|
186
177
|
import { CreateSubnameParameters, CreateSubnameResult, SetSubnameExpiryParameters, SetSubnameManagerParameters, SetSubnameRecordParameters, SetSubnameRecordResult, SetSubnameResolverParameters, SubnameError, SubnameParameters, SubnameWriteResult, TransferSubnameParameters } from "./subnames/types.js";
|
|
187
178
|
import { createSubname } from "./subnames/create-subname/index.js";
|
|
188
179
|
import { deleteSubname, setSubnameExpiry, setSubnameManager, setSubnameResolver } from "./subnames/mutation.js";
|
|
189
180
|
import { setSubnameRecord } from "./subnames/set-subname-record/index.js";
|
|
190
181
|
import { transferSubname } from "./subnames/transfer-subname/index.js";
|
|
191
|
-
import "
|
|
182
|
+
import "../subnames.js";
|
|
192
183
|
import { NameWrapperFuseName, decodeFuseMask, encodeFuseMask, nameWrapperFuseNames, wrapperFuseMasks } from "./wrapping/fuse-mask.js";
|
|
193
184
|
import { ExtendSubnameExpiryParameters, GetFusesResult, GetWrapperExpiryResult, SetChildFusesParameters, SetFusesParameters, UnwrapNameParameters, WrapNameParameters, WrapNameResult, WrapperReadError, WrapperReadParameters, WrapperUnsupportedReason, WrapperWriteError, WrapperWriteIntent, WrapperWriteResult } from "./wrapping/types.js";
|
|
194
185
|
import { extendSubnameExpiry, setChildFuses, setFuses, unwrapName } from "./wrapping/mutation.js";
|
|
195
186
|
import { getFuses } from "./wrapping/get-fuses/index.js";
|
|
196
187
|
import { getWrapperExpiry } from "./wrapping/get-wrapper-expiry/index.js";
|
|
197
188
|
import { wrapName } from "./wrapping/wrap-name/index.js";
|
|
198
|
-
import "
|
|
199
|
-
export { AbiResult, AccountCapabilityParameters, type AddressRecordInput, AddressResult, AliasResult, type AppliedRecordPermission, type ApproveMigrationParameters, type ApproveMigrationResult, type ApproveNameError, type ApproveNameIntent, type ApproveNameParameters, type ApproveNameResult, type ApprovePaymentTokenParameters, type ApproveRenewalPaymentParameters, AuthorizationDecision, AuthorizationRequirement, AuthorizationSource, AvailableNameState, type AvailableRegistrationPrice, AvatarResult, CapabilityError, type ClaimDnsNameError, type ClaimDnsNameIntent, type ClaimDnsNameParameters, type ClaimDnsNameResult, type ClearAvatarError, type ClearAvatarParameters, type ClearAvatarResult, type ClearNameApprovalError, type ClearNameApprovalIntent, type ClearNameApprovalParameters, type ClearNameApprovalResult, type ReverseNameWriteError as ClearPrimaryNameError, type ClearPrimaryNameParameters, type ReverseNameWriteResult as ClearPrimaryNameResult, type ClearRecordsError, type ClearRecordsParameters, type ClearRecordsResult, type CommitNameParameters, CommitmentStatus, type CompleteRegistrationParameters, ContentHashResult, type CreateResolverError, type CreateResolverIntent, type CreateResolverParameters, type CreateResolverResult, type SubnameError as CreateSubnameError, type CreateSubnameParameters, type CreateSubnameResult, DataResult, type SubnameError as DeleteSubnameError, type SubnameParameters as DeleteSubnameParameters, type SubnameWriteResult as DeleteSubnameResult, DnsClaimStatus, DnsImportPlan, type DnsReadError, type DnsRecordQuery, DnsRecordResult, DnsRecordsExistence, DnsRecordsResult, DnsResource, DnssecProof, DnssecProofChain, EnsEvent, EnsEventContractKind, type EnsEventError, EnsEventKind, Erc20PaymentCurrency, ExpiryResult, ExpirySource, type WrapperWriteError as ExtendSubnameExpiryError, type WrapperWriteIntent as ExtendSubnameExpiryIntent, type ExtendSubnameExpiryParameters, type WrapperWriteResult as ExtendSubnameExpiryResult, type GetAbiError, type GetAbiParameters, type GetAddressError, type GetAddressParameters, type GetAddressesError, type GetAddressesParameters, type GetAliasError, type GetAliasParameters, type GetAvatarError, type GetAvatarParameters, type GetNameStateError as GetCanonicalResourceError, type GetNameStateParameters as GetCanonicalResourceParameters, type GetCanonicalResourceResult, type RegistrationReadError as GetCommitmentStatusError, type GetCommitmentStatusParameters, type GetContentHashError, type GetContentHashParameters, type GetDataError, type GetDataParameters, type DnsReadError as GetDnsClaimStatusError, type GetDnsClaimStatusParameters, type DnsReadError as GetDnsImportPlanError, type GetDnsImportPlanParameters, type DnsReadError as GetDnsRecordError, type GetDnsRecordParameters, type DnsReadError as GetDnsRecordsError, type GetDnsRecordsParameters, type EnsEventError as GetEnsEventsError, type GetEnsEventsParameters, type GetExpiryError, type GetExpiryParameters, type WrapperReadError as GetFusesError, type WrapperReadParameters as GetFusesParameters, type GetFusesResult, type GetInterfaceError, type GetInterfaceParameters, type GetNameStateError as GetManagerError, type GetNameStateParameters as GetManagerParameters, type GetManagerResult, type MigrationReadError as GetMigrationEligibilityError, type GetMigrationEligibilityParameters, type MigrationReadError as GetMigrationPlanError, type GetMigrationPlanParameters, type MigrationReadError as GetMigrationStatusError, type MigrationNameParameters as GetMigrationStatusParameters, type MigrationReadError as GetMigrationTargetError, type MigrationNameParameters as GetMigrationTargetParameters, type CapabilityError as GetNameCapabilitiesError, GetNameCapabilitiesParameters, type GetNameError, type EnsEventError as GetNameHistoryError, type GetNameHistoryParameters, type GetNameParameters, type GetNameStateError, type GetNameStateParameters, type GetNameStateError as GetNameStatusError, type GetNameStateParameters as GetNameStatusParameters, type NameStatus as GetNameStatusResult, type CapabilityError as GetOperatorApprovalError, GetOperatorApprovalParameters, type GetOrCreateResolverError, type GetOrCreateResolverParameters, type GetOrCreateResolverResult, type GetOwnerError, type GetOwnerParameters, type GetPrimaryNameError, type GetPrimaryNameParameters, type GetNameStateError as GetProtocolError, type GetNameStateParameters as GetProtocolParameters, type GetProtocolResult, type GetPubkeyError, type GetPubkeyParameters, type CapabilityError as GetRecordPermissionsError, GetRecordPermissionsParameters, type GetRecordsAction, type GetRecordsError, type GetRecordsParameters, type GetRecordsResult, type GetRecordsSelection, type GetNameStateError as GetRegistrantError, type GetNameStateParameters as GetRegistrantParameters, type GetRegistrantResult, type RegistrationReadError as GetRegistrationParametersError, type GetRegistrationParametersParameters, type RegistrationReadError as GetRegistrationPlanError, type GetRegistrationPlanParameters, type RegistrationReadError as GetRegistrationPriceError, type RegistrationPriceParameters as GetRegistrationPriceParameters, type CapabilityError as GetRegistryCapabilitiesError, type NameCapabilityParameters as GetRegistryCapabilitiesParameters, type GetNameStateError as GetRegistryError, type GetNameStateParameters as GetRegistryParameters, type GetRegistryResult, type CapabilityError as GetRegistryRolesError, type AccountCapabilityParameters as GetRegistryRolesParameters, type RegistrationReadError as GetRenewalPriceError, type RegistrationPriceParameters as GetRenewalPriceParameters, type CapabilityError as GetRequiredAuthorizationError, GetRequiredAuthorizationParameters, type CapabilityError as GetResolverCapabilitiesError, type NameCapabilityParameters as GetResolverCapabilitiesParameters, type CapabilityError as GetResolverDelegateApprovalError, GetResolverDelegateApprovalParameters, type GetResolverError, type GetResolverParameters, type GetResolverResult, type CapabilityError as GetResolverRolesError, GetResolverRolesParameters, type GetResolverVersionError, type GetResolverVersionParameters, type GetTextError, type GetTextParameters, type GetTextsError, type GetTextsParameters, type CapabilityError as GetTokenApprovalError, type NameCapabilityParameters as GetTokenApprovalParameters, type GetNameStateError as GetTokenIdError, type GetNameStateParameters as GetTokenIdParameters, type GetTokenIdResult, type GetNameStateError as GetTtlError, type GetNameStateParameters as GetTtlParameters, type TtlResult as GetTtlResult, type WrapperReadError as GetWrapperExpiryError, type WrapperReadParameters as GetWrapperExpiryParameters, type GetWrapperExpiryResult, type CapabilityError as GetWrapperPermissionsError, type AccountCapabilityParameters as GetWrapperPermissionsParameters, type CapabilityError as GetWriteTargetError, GetWriteTargetParameters, type DnsReadError as GetZoneHashError, type GetZoneHashParameters, type GrantRegistryRolesError, type GrantRegistryRolesIntent, type GrantRegistryRolesParameters, type GrantRegistryRolesResult, type GrantResolverRolesError, type GrantResolverRolesIntent, type GrantResolverRolesParameters, type GrantResolverRolesResult, type GrantResolverRootRolesError, type GrantResolverRootRolesIntent, type GrantResolverRootRolesParameters, type GrantResolverRootRolesResult, type DnsReadError as HasDnsRecordsError, type HasDnsRecordsParameters, type CapabilityError as HasRegistryRolesError, HasRegistryRolesParameters, HasRegistryRolesResult, type CapabilityError as HasResolverRolesError, HasResolverRolesParameters, HasResolverRolesResult, type ImportDnsNameError, type ImportDnsNameParameters, type ImportDnsNameResult, InterfaceResult, type GetNameStateError as IsAvailableError, type GetNameStateParameters as IsAvailableParameters, type GetNameStateError as IsMigratedError, type GetNameStateParameters as IsMigratedParameters, type RegistrationReadError as IsPaymentTokenSupportedError, type IsPaymentTokenSupportedParameters, type GetNameStateError as IsRenewableError, type GetNameStateParameters as IsRenewableParameters, type GetNameStateError as IsReservedError, type GetNameStateParameters as IsReservedParameters, type GetNameStateError as IsWrappedError, type GetNameStateParameters as IsWrappedParameters, type RegistrationReadError as MakeRegistrationCommitmentError, type RegistrationCommitmentParameters as MakeRegistrationCommitmentParameters, type MigrateNameAction, type MigrateNameCallParameters, type MigrateNameParameters, type MigrateNameResult, type MigrateNamesParameters, type MigrationBatchApproval, type MigrationBatchEntry, type MigrationBatchProgress, MigrationBlocker, MigrationEligibility, type MigrationNameParameters, type MigrationNameProgress, MigrationPlan, type MigrationReadError, MigrationStatus, MigrationTarget, MigrationUnsupportedReason, type MigrationValues, type MigrationWalletParameters, type MigrationWriteError, NameCapabilities, NameCapabilityParameters, NameHistory, NameResult, NameState, NameStatus, type NameWrapperFuseName, NativePaymentCurrency, type OperatorApprovalKind, OperatorApprovalResult, OperatorApprovalTarget, OwnerResult, OwnershipLevel, PaymentCurrency, PaymentTokenSupport, PrimaryNameResult, PubkeyResult, type ReadBatch, type ReadBatchError, type ReadBatchOptions, type ReadBatchOutcome, type ReadBatchResult, type ReadBatchSettled, type ReadBatchSettledResult, type OwnershipWriteError as ReclaimNameError, type ReclaimNameParameters, type OwnershipWriteResult as ReclaimNameResult, RecordOperation, RecordPermission, RecordPermissionsResult, type RegisterNameParameters, type RegisterNameResult, type RegisterNamesEntryParameters, type RegisterNamesParameters, type RegisterNamesResult, RegistrationCommitment, RegistrationParameters, RegistrationPlan, RegistrationPriceResult, type RegistrationReadError, type RegistrationWriteError, type RegistrationWriteIntent, type RegistrationWriteResult, RegistryCapabilities, RegistryOperation, type RegistryRolesMutationParameters, RegistryRolesResult, type RenewNameAction, type RenewNameCallParameters, type RenewNameParameters, type RenewNameResult, type RenewNamesEntryParameters, type RenewNamesParameters, type RenewNamesResult, type RenewalApproval, RenewalPriceResult, RenewalRoute, RequiredAuthorizationResult, type ResolveBatchCall, type ResolveBatchError, type ResolveBatchParameters, type ResolveBatchResult, type ResolveError, type ResolveParameters, ResolveResult, type ResolveWithResolverError, type ResolveWithResolverParameters, ResolveWithResolverResult, ResolverCapabilities, ResolverDelegateApprovalResult, type ResolverMulticallResult, ResolverProfiles, type ResolverRolesMutationParameters, ResolverRolesResult, type ResolverRootRolesMutationParameters, type ResolverSource, ResolverVersionResult, type ReverseNameWriteError, type ReverseNameWriteResult, type RevokeRegistryRolesError, type RevokeRegistryRolesIntent, type RevokeRegistryRolesParameters, type RevokeRegistryRolesResult, type RevokeResolverRolesError, type RevokeResolverRolesIntent, type RevokeResolverRolesParameters, type RevokeResolverRolesResult, type RevokeResolverRootRolesError, type RevokeResolverRootRolesIntent, type RevokeResolverRootRolesParameters, type RevokeResolverRootRolesResult, type SetAbiError, type SetAbiParameters, type SetAbiResult, type SetAddressError, type SetAddressParameters, type SetAddressResult, type SetAddressesError, type SetAddressesParameters, type SetAddressesResult, type SetAliasError, type SetAliasParameters, type SetAliasResult, type SetAvatarError, type SetAvatarParameters, type SetAvatarResult, type WrapperWriteError as SetChildFusesError, type WrapperWriteIntent as SetChildFusesIntent, type SetChildFusesParameters, type WrapperWriteResult as SetChildFusesResult, type SetContentHashError, type SetContentHashParameters, type SetContentHashResult, type ReverseNameWriteError as SetContractPrimaryNameError, type SetContractPrimaryNameParameters, type ReverseNameWriteResult as SetContractPrimaryNameResult, type SetDataError, type SetDataParameters, type SetDataResult, type SetDnsRecordsError, type SetDnsRecordsParameters, type SetDnsRecordsResult, type WrapperWriteError as SetFusesError, type WrapperWriteIntent as SetFusesIntent, type SetFusesParameters, type WrapperWriteResult as SetFusesResult, type SetInterfaceError, type SetInterfaceParameters, type SetInterfaceResult, type OwnershipWriteError as SetManagerError, type SetManagerParameters, type OwnershipWriteResult as SetManagerResult, type SetNameError, type SetNameParameters, type SetNameResult, type SetOperatorApprovalError, type SetOperatorApprovalIntent, type SetOperatorApprovalParameters, type SetOperatorApprovalResult, type ReverseNameWriteError as SetPrimaryNameError, type ReverseNameWriteError as SetPrimaryNameForAddressError, type SetPrimaryNameForAddressParameters, type ReverseNameWriteResult as SetPrimaryNameForAddressResult, type SetPrimaryNameParameters, type ReverseNameWriteResult as SetPrimaryNameResult, type SetPubkeyError, type SetPubkeyParameters, type SetPubkeyResult, type SetRecordInput, type SetRecordPermissionsError, type SetRecordPermissionsParameters, type SetRecordPermissionsResult, type SetRecordsAction, type SetRecordsError, type SetRecordsParameters, type SetRecordsResult, type SetResolverAndRecordsError, type SetResolverAndRecordsParameters, type SetResolverAndRecordsProgress, type SetResolverAndRecordsResult, type SetResolverDelegateApprovalError, type SetResolverDelegateApprovalIntent, type SetResolverDelegateApprovalParameters, type SetResolverDelegateApprovalResult, type SetResolverError, type SetResolverParameters, type SetResolverResult, type SubnameError as SetSubnameExpiryError, type SetSubnameExpiryParameters, type SubnameWriteResult as SetSubnameExpiryResult, type SubnameError as SetSubnameManagerError, type SetSubnameManagerParameters, type SubnameWriteResult as SetSubnameManagerResult, type SubnameError as SetSubnameRecordError, type SetSubnameRecordParameters, type SetSubnameRecordResult, type SubnameError as SetSubnameResolverError, type SetSubnameResolverParameters, type SubnameWriteResult as SetSubnameResolverResult, type SetTextError, type SetTextParameters, type SetTextResult, type SetTextsError, type SetTextsParameters, type SetTextsResult, type OwnershipWriteError as SetTtlError, type SetTtlParameters, type OwnershipWriteResult as SetTtlResult, type SetZoneHashError, type SetZoneHashParameters, type SetZoneHashResult, type TextRecordInput, TextResult, TokenApprovalResult, type TransferNameError, type TransferNameParameters, type TransferNameProgress, type TransferNameResult, type TransferNameStrategy, type OwnershipWriteError as TransferRegistrantError, type TransferRegistrantParameters, type OwnershipWriteResult as TransferRegistrantResult, type SubnameError as TransferSubnameError, type TransferSubnameParameters, type WrapperWriteError as UnwrapNameError, type WrapperWriteIntent as UnwrapNameIntent, type UnwrapNameParameters, type WrapperWriteResult as UnwrapNameResult, type UpgradeResolverError, type UpgradeResolverIntent, type UpgradeResolverParameters, type UpgradeResolverResult, V1UnwrappedNameState, V1WrappedNameState, V2MigratedNameState, V2NativeNameState, V2ReservedNameState, type WatchEnsEvents, type EnsEventError as WatchEnsEventsError, type WatchEnsEventsParameters, type WrapperWriteError as WrapNameError, type WrapNameParameters, type WrapNameResult, WrapperPermissionsResult, type WrapperReadError, type WrapperReadParameters, type WrapperUnsupportedReason, type WrapperWriteError, type WrapperWriteIntent, type WrapperWriteResult, WriteOperation, WriteTarget, ZoneHashResult, approveMigration, approveName, approvePaymentToken, approveRenewalPayment, claimDnsName, clearAvatar, clearNameApproval, clearPrimaryName, clearRecords, commitName, completeRegistration, createResolver, createSubname, decodeFuseMask, deleteSubname, encodeFuseMask, estimateCalls, executeWritePlan, extendSubnameExpiry, getAbi, getAddress, getAddresses, getAlias, getAvatar, getCallsStatus, getCanonicalResource, getCommitmentStatus, getContentHash, getData, getDnsClaimStatus, getDnsImportPlan, getDnsRecord, getDnsRecords, getEnsEvents, getExpiry, getFuses, getInterface, getManager, getMigrationEligibility, getMigrationPlan, getMigrationStatus, getMigrationTarget, getName, getNameCapabilities, getNameHistory, getNameState, getNameStatus, getOperatorApproval, getOrCreateResolver, getOwner, getPrimaryName, getProtocol, getPubkey, getRecordPermissions, getRecords, getRegistrant, getRegistrationParameters, getRegistrationPlan, getRegistrationPrice, getRegistry, getRegistryCapabilities, getRegistryRoles, getRenewalPrice, getRequiredAuthorization, getResolver, getResolverCapabilities, getResolverDelegateApproval, getResolverRoles, getResolverVersion, getText, getTexts, getTokenApproval, getTokenId, getTtl, getWalletCapabilities, getWrapperExpiry, getWrapperPermissions, getWriteTarget, getZoneHash, grantRegistryRoles, grantResolverRoles, grantResolverRootRoles, hasDnsRecords, hasRegistryRoles, hasResolverRoles, importDnsName, isAvailable, isMigrated, isPaymentTokenSupported, isRenewable, isReserved, isWrapped, makeRegistrationCommitment, migrateName, migrateNames, nameWrapperFuseNames, predictResolverAddress, prepareCalls, readBatch, readBatchSettled, reclaimName, registerName, registerNames, renewName, renewNames, resolve, resolveBatch, resolveWithResolver, resumeCalls, revokeRegistryRoles, revokeResolverRoles, revokeResolverRootRoles, sendCalls, setAbi, setAddress, setAddresses, setAlias, setAvatar, setChildFuses, setContentHash, setContractPrimaryName, setData, setDnsRecords, setFuses, setInterface, setManager, setName, setOperatorApproval, setPrimaryName, setPrimaryNameForAddress, setPubkey, setRecordPermissions, setRecords, setResolver, setResolverAndRecords, setResolverDelegateApproval, setSubnameExpiry, setSubnameManager, setSubnameRecord, setSubnameResolver, setText, setTexts, setTtl, setZoneHash, simulateCalls, transferName, transferRegistrant, transferSubname, unwrapName, upgradeResolver, watchEnsEvents, wrapName, wrapperFuseMasks };
|
|
189
|
+
import "../wrapping.js";
|
|
190
|
+
import { executeWritePlan } from "./batch/execute-write-plan.js";
|
|
191
|
+
import { estimateCalls } from "./batch/estimate-calls.js";
|
|
192
|
+
import { getWalletCapabilities } from "./batch/get-wallet-capabilities.js";
|
|
193
|
+
import { getCallsStatus } from "./batch/get-calls-status.js";
|
|
194
|
+
import { prepareCalls } from "./batch/prepare-calls.js";
|
|
195
|
+
import { sendCalls } from "./batch/send-calls.js";
|
|
196
|
+
import { resumeCalls } from "./batch/resume-calls.js";
|
|
197
|
+
import { simulateCalls } from "./batch/simulate-calls.js";
|
|
198
|
+
import "../batch.js";
|
|
199
|
+
export { AbiResult, AccountCapabilityParameters, type AddressRecordInput, AddressResult, AliasResult, type AppliedRecordPermission, type ApproveMigrationParameters, type ApproveMigrationResult, type ApproveNameError, type ApproveNameIntent, type ApproveNameParameters, type ApproveNameResult, type ApprovePaymentTokenParameters, type ApproveRenewalPaymentParameters, AuthorizationDecision, AuthorizationRequirement, AuthorizationSource, AvailableNameState, type AvailableRegistrationPrice, AvatarResult, CapabilityError, type ClaimDnsNameError, type ClaimDnsNameIntent, type ClaimDnsNameParameters, type ClaimDnsNameResult, type ClearAvatarError, type ClearAvatarParameters, type ClearAvatarResult, type ClearNameApprovalError, type ClearNameApprovalIntent, type ClearNameApprovalParameters, type ClearNameApprovalResult, type ReverseNameWriteError as ClearPrimaryNameError, type ClearPrimaryNameParameters, type ReverseNameWriteResult as ClearPrimaryNameResult, type ClearRecordsError, type ClearRecordsParameters, type ClearRecordsResult, type CommitNameParameters, CommitmentStatus, type CompleteRegistrationParameters, ContentHashResult, type CreateResolverError, type CreateResolverIntent, type CreateResolverParameters, type CreateResolverResult, type SubnameError as CreateSubnameError, type CreateSubnameParameters, type CreateSubnameResult, DataResult, type SubnameError as DeleteSubnameError, type SubnameParameters as DeleteSubnameParameters, type SubnameWriteResult as DeleteSubnameResult, DnsClaimStatus, DnsImportPlan, type DnsReadError, type DnsRecordQuery, DnsRecordResult, DnsRecordsExistence, DnsRecordsResult, DnsResource, type DnsWriteWalletParameters, DnssecProof, DnssecProofChain, EnsEvent, EnsEventContractKind, type EnsEventError, EnsEventKind, Erc20PaymentCurrency, ExpiryResult, ExpirySource, type WrapperWriteError as ExtendSubnameExpiryError, type WrapperWriteIntent as ExtendSubnameExpiryIntent, type ExtendSubnameExpiryParameters, type WrapperWriteResult as ExtendSubnameExpiryResult, type GetAbiError, type GetAbiParameters, type GetAddressError, type GetAddressParameters, type GetAddressesError, type GetAddressesParameters, type GetAliasError, type GetAliasParameters, type GetAvatarError, type GetAvatarParameters, type GetNameStateError as GetCanonicalResourceError, type GetNameStateParameters as GetCanonicalResourceParameters, type GetCanonicalResourceResult, type RegistrationReadError as GetCommitmentStatusError, type GetCommitmentStatusParameters, type GetContentHashError, type GetContentHashParameters, type GetDataError, type GetDataParameters, type DnsReadError as GetDnsClaimStatusError, type GetDnsClaimStatusParameters, type DnsReadError as GetDnsImportPlanError, type GetDnsImportPlanParameters, type DnsReadError as GetDnsRecordError, type GetDnsRecordParameters, type DnsReadError as GetDnsRecordsError, type GetDnsRecordsParameters, type EnsEventError as GetEnsEventsError, type GetEnsEventsParameters, type GetExpiryError, type GetExpiryParameters, type WrapperReadError as GetFusesError, type WrapperReadParameters as GetFusesParameters, type GetFusesResult, type GetInterfaceError, type GetInterfaceParameters, type GetNameStateError as GetManagerError, type GetNameStateParameters as GetManagerParameters, type GetManagerResult, type MigrationReadError as GetMigrationEligibilityError, type GetMigrationEligibilityParameters, type MigrationReadError as GetMigrationPlanError, type GetMigrationPlanParameters, type MigrationReadError as GetMigrationStatusError, type MigrationNameParameters as GetMigrationStatusParameters, type MigrationReadError as GetMigrationTargetError, type MigrationNameParameters as GetMigrationTargetParameters, type CapabilityError as GetNameCapabilitiesError, GetNameCapabilitiesParameters, type GetNameError, type EnsEventError as GetNameHistoryError, type GetNameHistoryParameters, type GetNameParameters, type GetNameStateError, type GetNameStateParameters, type GetNameStateError as GetNameStatusError, type GetNameStateParameters as GetNameStatusParameters, type NameStatus as GetNameStatusResult, type CapabilityError as GetOperatorApprovalError, GetOperatorApprovalParameters, type GetOrCreateResolverError, type GetOrCreateResolverParameters, type GetOrCreateResolverResult, type GetOwnerError, type GetOwnerParameters, type GetPrimaryNameError, type GetPrimaryNameParameters, type GetNameStateError as GetProtocolError, type GetNameStateParameters as GetProtocolParameters, type GetProtocolResult, type GetPubkeyError, type GetPubkeyParameters, type CapabilityError as GetRecordPermissionsError, GetRecordPermissionsParameters, type GetRecordsAction, type GetRecordsError, type GetRecordsParameters, type GetRecordsResult, type GetRecordsSelection, type GetNameStateError as GetRegistrantError, type GetNameStateParameters as GetRegistrantParameters, type GetRegistrantResult, type RegistrationReadError as GetRegistrationParametersError, type GetRegistrationParametersParameters, type RegistrationReadError as GetRegistrationPlanError, type GetRegistrationPlanParameters, type RegistrationReadError as GetRegistrationPriceError, type RegistrationPriceParameters as GetRegistrationPriceParameters, type CapabilityError as GetRegistryCapabilitiesError, type NameCapabilityParameters as GetRegistryCapabilitiesParameters, type GetNameStateError as GetRegistryError, type GetNameStateParameters as GetRegistryParameters, type GetRegistryResult, type CapabilityError as GetRegistryRolesError, type AccountCapabilityParameters as GetRegistryRolesParameters, type RegistrationReadError as GetRenewalPriceError, type RegistrationPriceParameters as GetRenewalPriceParameters, type CapabilityError as GetRequiredAuthorizationError, GetRequiredAuthorizationParameters, type CapabilityError as GetResolverCapabilitiesError, type NameCapabilityParameters as GetResolverCapabilitiesParameters, type CapabilityError as GetResolverDelegateApprovalError, GetResolverDelegateApprovalParameters, type GetResolverError, type GetResolverParameters, type GetResolverResult, type CapabilityError as GetResolverRolesError, GetResolverRolesParameters, type GetResolverVersionError, type GetResolverVersionParameters, type GetTextError, type GetTextParameters, type GetTextsError, type GetTextsParameters, type CapabilityError as GetTokenApprovalError, type NameCapabilityParameters as GetTokenApprovalParameters, type GetNameStateError as GetTokenIdError, type GetNameStateParameters as GetTokenIdParameters, type GetTokenIdResult, type GetNameStateError as GetTtlError, type GetNameStateParameters as GetTtlParameters, type TtlResult as GetTtlResult, type WrapperReadError as GetWrapperExpiryError, type WrapperReadParameters as GetWrapperExpiryParameters, type GetWrapperExpiryResult, type CapabilityError as GetWrapperPermissionsError, type AccountCapabilityParameters as GetWrapperPermissionsParameters, type CapabilityError as GetWriteTargetError, GetWriteTargetParameters, type DnsReadError as GetZoneHashError, type GetZoneHashParameters, type GrantRegistryRolesError, type GrantRegistryRolesIntent, type GrantRegistryRolesParameters, type GrantRegistryRolesResult, type GrantResolverRolesError, type GrantResolverRolesIntent, type GrantResolverRolesParameters, type GrantResolverRolesResult, type GrantResolverRootRolesError, type GrantResolverRootRolesIntent, type GrantResolverRootRolesParameters, type GrantResolverRootRolesResult, type DnsReadError as HasDnsRecordsError, type HasDnsRecordsParameters, type CapabilityError as HasRegistryRolesError, HasRegistryRolesParameters, HasRegistryRolesResult, type CapabilityError as HasResolverRolesError, HasResolverRolesParameters, HasResolverRolesResult, type ImportDnsNameError, type ImportDnsNameParameters, type ImportDnsNameResult, InterfaceResult, type GetNameStateError as IsAvailableError, type GetNameStateParameters as IsAvailableParameters, type GetNameStateError as IsMigratedError, type GetNameStateParameters as IsMigratedParameters, type RegistrationReadError as IsPaymentTokenSupportedError, type IsPaymentTokenSupportedParameters, type GetNameStateError as IsRenewableError, type GetNameStateParameters as IsRenewableParameters, type GetNameStateError as IsReservedError, type GetNameStateParameters as IsReservedParameters, type GetNameStateError as IsWrappedError, type GetNameStateParameters as IsWrappedParameters, type RegistrationReadError as MakeRegistrationCommitmentError, type RegistrationCommitmentParameters as MakeRegistrationCommitmentParameters, type MigrateNameAction, type MigrateNameCallParameters, type MigrateNameParameters, type MigrateNameResult, type MigrateNamesParameters, type MigrationBatchApproval, type MigrationBatchEntry, type MigrationBatchProgress, MigrationBlocker, MigrationEligibility, type MigrationNameParameters, type MigrationNameProgress, MigrationPlan, type MigrationReadError, MigrationStatus, MigrationTarget, MigrationUnsupportedReason, type MigrationValues, type MigrationWalletParameters, type MigrationWriteError, NameCapabilities, NameCapabilityParameters, NameHistory, NameResult, NameState, NameStatus, type NameWrapperFuseName, NativePaymentCurrency, type OperatorApprovalKind, OperatorApprovalResult, OperatorApprovalTarget, OwnerResult, OwnershipLevel, PaymentCurrency, PaymentTokenSupport, PrimaryNameResult, PubkeyResult, type ReadBatch, type ReadBatchError, type ReadBatchOptions, type ReadBatchOutcome, type ReadBatchResult, type ReadBatchSettled, type ReadBatchSettledResult, type OwnershipWriteError as ReclaimNameError, type ReclaimNameParameters, type OwnershipWriteResult as ReclaimNameResult, RecordOperation, RecordPermission, RecordPermissionsResult, type RegisterNameParameters, type RegisterNameResult, type RegisterNamesEntryParameters, type RegisterNamesParameters, type RegisterNamesResult, RegistrationCommitment, RegistrationParameters, RegistrationPlan, RegistrationPriceResult, type RegistrationReadError, type RegistrationWalletParameters, type RegistrationWriteError, type RegistrationWriteIntent, type RegistrationWriteResult, RegistryCapabilities, RegistryOperation, type RegistryRolesMutationParameters, RegistryRolesResult, type RenewNameAction, type RenewNameCallParameters, type RenewNameParameters, type RenewNameResult, type RenewNamesEntryParameters, type RenewNamesParameters, type RenewNamesResult, type RenewalApproval, RenewalPriceResult, RenewalRoute, RequiredAuthorizationResult, type ResolveBatchCall, type ResolveBatchError, type ResolveBatchParameters, type ResolveBatchResult, type ResolveError, type ResolveParameters, ResolveResult, type ResolveWithResolverError, type ResolveWithResolverParameters, ResolveWithResolverResult, ResolverCapabilities, ResolverDelegateApprovalResult, type ResolverMulticallResult, ResolverProfiles, type ResolverRolesMutationParameters, ResolverRolesResult, type ResolverRootRolesMutationParameters, type ResolverSource, ResolverVersionResult, type ReverseNameWriteError, type ReverseNameWriteResult, type RevokeRegistryRolesError, type RevokeRegistryRolesIntent, type RevokeRegistryRolesParameters, type RevokeRegistryRolesResult, type RevokeResolverRolesError, type RevokeResolverRolesIntent, type RevokeResolverRolesParameters, type RevokeResolverRolesResult, type RevokeResolverRootRolesError, type RevokeResolverRootRolesIntent, type RevokeResolverRootRolesParameters, type RevokeResolverRootRolesResult, type SetAbiError, type SetAbiParameters, type SetAbiResult, type SetAddressError, type SetAddressParameters, type SetAddressResult, type SetAddressesError, type SetAddressesParameters, type SetAddressesResult, type SetAliasError, type SetAliasParameters, type SetAliasResult, type SetAvatarError, type SetAvatarParameters, type SetAvatarResult, type WrapperWriteError as SetChildFusesError, type WrapperWriteIntent as SetChildFusesIntent, type SetChildFusesParameters, type WrapperWriteResult as SetChildFusesResult, type SetContentHashError, type SetContentHashParameters, type SetContentHashResult, type ReverseNameWriteError as SetContractPrimaryNameError, type SetContractPrimaryNameParameters, type ReverseNameWriteResult as SetContractPrimaryNameResult, type SetDataError, type SetDataParameters, type SetDataResult, type SetDnsRecordsError, type SetDnsRecordsParameters, type SetDnsRecordsResult, type WrapperWriteError as SetFusesError, type WrapperWriteIntent as SetFusesIntent, type SetFusesParameters, type WrapperWriteResult as SetFusesResult, type SetInterfaceError, type SetInterfaceParameters, type SetInterfaceResult, type OwnershipWriteError as SetManagerError, type SetManagerParameters, type OwnershipWriteResult as SetManagerResult, type SetNameError, type SetNameParameters, type SetNameResult, type SetOperatorApprovalError, type SetOperatorApprovalIntent, type SetOperatorApprovalParameters, type SetOperatorApprovalResult, type ReverseNameWriteError as SetPrimaryNameError, type ReverseNameWriteError as SetPrimaryNameForAddressError, type SetPrimaryNameForAddressParameters, type ReverseNameWriteResult as SetPrimaryNameForAddressResult, type SetPrimaryNameParameters, type ReverseNameWriteResult as SetPrimaryNameResult, type SetPubkeyError, type SetPubkeyParameters, type SetPubkeyResult, type SetRecordInput, type SetRecordPermissionsError, type SetRecordPermissionsParameters, type SetRecordPermissionsResult, type SetRecordsAction, type SetRecordsError, type SetRecordsParameters, type SetRecordsResult, type SetResolverAndRecordsError, type SetResolverAndRecordsParameters, type SetResolverAndRecordsProgress, type SetResolverAndRecordsResult, type SetResolverDelegateApprovalError, type SetResolverDelegateApprovalIntent, type SetResolverDelegateApprovalParameters, type SetResolverDelegateApprovalResult, type SetResolverError, type SetResolverParameters, type SetResolverResult, type SubnameError as SetSubnameExpiryError, type SetSubnameExpiryParameters, type SubnameWriteResult as SetSubnameExpiryResult, type SubnameError as SetSubnameManagerError, type SetSubnameManagerParameters, type SubnameWriteResult as SetSubnameManagerResult, type SubnameError as SetSubnameRecordError, type SetSubnameRecordParameters, type SetSubnameRecordResult, type SubnameError as SetSubnameResolverError, type SetSubnameResolverParameters, type SubnameWriteResult as SetSubnameResolverResult, type SetTextError, type SetTextParameters, type SetTextResult, type SetTextsError, type SetTextsParameters, type SetTextsResult, type OwnershipWriteError as SetTtlError, type SetTtlParameters, type OwnershipWriteResult as SetTtlResult, type SetZoneHashError, type SetZoneHashParameters, type SetZoneHashResult, type TextRecordInput, TextResult, TokenApprovalResult, type TransferNameError, type TransferNameParameters, type TransferNameProgress, type TransferNameResult, type TransferNameStrategy, type OwnershipWriteError as TransferRegistrantError, type TransferRegistrantParameters, type OwnershipWriteResult as TransferRegistrantResult, type SubnameError as TransferSubnameError, type TransferSubnameParameters, type WrapperWriteError as UnwrapNameError, type WrapperWriteIntent as UnwrapNameIntent, type UnwrapNameParameters, type WrapperWriteResult as UnwrapNameResult, type UpgradeResolverError, type UpgradeResolverIntent, type UpgradeResolverParameters, type UpgradeResolverResult, V1UnwrappedNameState, V1WrappedNameState, V2MigratedNameState, V2NativeNameState, V2ReservedNameState, type WatchEnsEvents, type EnsEventError as WatchEnsEventsError, type WatchEnsEventsParameters, type WrapperWriteError as WrapNameError, type WrapNameParameters, type WrapNameResult, WrapperPermissionsResult, type WrapperReadError, type WrapperReadParameters, type WrapperUnsupportedReason, type WrapperWriteError, type WrapperWriteIntent, type WrapperWriteResult, WriteOperation, WriteTarget, ZoneHashResult, approveMigration, approveName, approvePaymentToken, approveRenewalPayment, claimDnsName, clearAvatar, clearNameApproval, clearPrimaryName, clearRecords, commitName, completeRegistration, createResolver, createSubname, decodeFuseMask, deleteSubname, encodeFuseMask, estimateCalls, executeWritePlan, extendSubnameExpiry, getAbi, getAddress, getAddresses, getAlias, getAvatar, getCallsStatus, getCanonicalResource, getCommitmentStatus, getContentHash, getData, getDnsClaimStatus, getDnsImportPlan, getDnsRecord, getDnsRecords, getEnsEvents, getExpiry, getFuses, getInterface, getManager, getMigrationEligibility, getMigrationPlan, getMigrationStatus, getMigrationTarget, getName, getNameCapabilities, getNameHistory, getNameState, getNameStatus, getOperatorApproval, getOrCreateResolver, getOwner, getPrimaryName, getProtocol, getPubkey, getRecordPermissions, getRecords, getRegistrant, getRegistrationParameters, getRegistrationPlan, getRegistrationPrice, getRegistry, getRegistryCapabilities, getRegistryRoles, getRenewalPrice, getRequiredAuthorization, getResolver, getResolverCapabilities, getResolverDelegateApproval, getResolverRoles, getResolverVersion, getText, getTexts, getTokenApproval, getTokenId, getTtl, getWalletCapabilities, getWrapperExpiry, getWrapperPermissions, getWriteTarget, getZoneHash, grantRegistryRoles, grantResolverRoles, grantResolverRootRoles, hasDnsRecords, hasRegistryRoles, hasResolverRoles, importDnsName, isAvailable, isMigrated, isPaymentTokenSupported, isRenewable, isReserved, isWrapped, makeRegistrationCommitment, migrateName, migrateNames, nameWrapperFuseNames, predictResolverAddress, prepareCalls, readBatch, readBatchSettled, reclaimName, registerName, registerNames, renewName, renewNames, resolve, resolveBatch, resolveWithResolver, resumeCalls, revokeRegistryRoles, revokeResolverRoles, revokeResolverRootRoles, sendCalls, setAbi, setAddress, setAddresses, setAlias, setAvatar, setChildFuses, setContentHash, setContractPrimaryName, setData, setDnsRecords, setFuses, setInterface, setManager, setName, setOperatorApproval, setPrimaryName, setPrimaryNameForAddress, setPubkey, setRecordPermissions, setRecords, setResolver, setResolverAndRecords, setResolverDelegateApproval, setSubnameExpiry, setSubnameManager, setSubnameRecord, setSubnameResolver, setText, setTexts, setTtl, setZoneHash, simulateCalls, transferName, transferRegistrant, transferSubname, unwrapName, upgradeResolver, watchEnsEvents, wrapName, wrapperFuseMasks };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { makeWriteIntent } from "../../action/write-intent.js";
|
|
2
1
|
import { ContractError } from "../../errors/contract-error.js";
|
|
2
|
+
import { makeWriteIntent } from "../../action/write-intent.js";
|
|
3
3
|
import { dnsEncodeName } from "../../names/dns.js";
|
|
4
4
|
import { makeSingleWriteAction } from "../../internal/write/single-write-action.js";
|
|
5
5
|
import { getMigrationEligibility } from "./get-migration-eligibility/index.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/name/get-expiry/types.d.ts
|
|
8
8
|
declare const ExpirySource: Schema.Literals<readonly ["baseRegistrar", "nameWrapper", "registry"]>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/name/get-name-state/types.d.ts
|
|
8
8
|
declare const NameStatus: Schema.Literals<readonly ["available", "active", "grace", "expired", "reserved"]>;
|
|
@@ -7,7 +7,7 @@ declare const getOwner: EnsReadAction<GetOwnerParameters, {
|
|
|
7
7
|
readonly owner: `0x${string}` | null;
|
|
8
8
|
readonly registrant: `0x${string}` | null;
|
|
9
9
|
readonly protocol: "v1" | "v2";
|
|
10
|
-
readonly ownershipLevel: "
|
|
10
|
+
readonly ownershipLevel: "registrar" | "registry" | "nameWrapper";
|
|
11
11
|
} | null, GetOwnerError>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { type GetOwnerError, type GetOwnerParameters, OwnerResult, OwnershipLevel, getOwner };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/name/get-owner/types.d.ts
|
|
8
8
|
declare const OwnershipLevel: Schema.Literals<readonly ["registry", "registrar", "nameWrapper"]>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { AbiContentType } from "../../../schemas/records.js";
|
|
7
7
|
import { Schema } from "effect";
|
|
8
8
|
//#region src/actions/records/get-abi/types.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/records/get-address/types.d.ts
|
|
8
8
|
declare const AddressResult: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { GatewayError } from "../../../errors/gateway-error.js";
|
|
7
7
|
import { Schema } from "effect";
|
|
8
8
|
import { AssetGatewayUrls } from "viem";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/records/get-content-hash/types.d.ts
|
|
8
8
|
declare const ContentHashResult: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/records/get-data/types.d.ts
|
|
8
8
|
declare const DataResult: Schema.Struct<{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/records/get-interface/types.d.ts
|
|
8
8
|
declare const InterfaceResult: Schema.Struct<{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/records/get-name/types.d.ts
|
|
8
8
|
declare const NameResult: Schema.Struct<{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/records/get-pubkey/types.d.ts
|
|
8
8
|
declare const PubkeyResult: Schema.NullOr<Schema.Struct<{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { EnsforgeConfig } from "../../../config/config.js";
|
|
2
|
-
import { BlockParameters } from "../../../action/block.js";
|
|
3
2
|
import { EnsReadAction, EnsReadRequest } from "../../../action/read-request.js";
|
|
4
|
-
import {
|
|
3
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
4
|
+
import { BlockParameters } from "../../../action/block.js";
|
|
5
5
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
6
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
6
7
|
import { NameError } from "../../../errors/name-error.js";
|
|
7
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
8
8
|
import { NormalizedName } from "../../../schemas/name.js";
|
|
9
9
|
import { AbiContentType } from "../../../schemas/records.js";
|
|
10
10
|
import { AbiResult } from "../get-abi/types.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { RpcError } from "../../../errors/rpc-error.js";
|
|
1
2
|
import { BlockParameters } from "../../../action/block.js";
|
|
2
|
-
import { CodecError } from "../../../errors/codec-error.js";
|
|
3
3
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
|
+
import { CodecError } from "../../../errors/codec-error.js";
|
|
4
5
|
import { NameError } from "../../../errors/name-error.js";
|
|
5
|
-
import { RpcError } from "../../../errors/rpc-error.js";
|
|
6
6
|
import { Schema } from "effect";
|
|
7
7
|
//#region src/actions/records/get-text/types.d.ts
|
|
8
8
|
declare const TextResult: Schema.Struct<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineExtendedAction } from "../../../action/action.js";
|
|
2
|
-
import { getWriteIntentPreparer, makeWriteIntent } from "../../../action/write-intent.js";
|
|
3
2
|
import { ContractError } from "../../../errors/contract-error.js";
|
|
4
3
|
import { WritePlanError } from "../../../errors/write-plan-error.js";
|
|
4
|
+
import { getWriteIntentPreparer, makeWriteIntent } from "../../../action/write-intent.js";
|
|
5
5
|
import { WalletError } from "../../../errors/wallet-error.js";
|
|
6
6
|
import { executeSequential } from "../../../internal/write/execute-sequential.js";
|
|
7
7
|
import { sendCalls } from "../../batch/send-calls.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BlockParameters } from "../../../action/block.js";
|
|
2
1
|
import { EnsReadAction } from "../../../action/read-request.js";
|
|
2
|
+
import { BlockParameters } from "../../../action/block.js";
|
|
3
3
|
import { Bytes32 } from "../../../schemas/hash.js";
|
|
4
4
|
import { CommitmentStatus, RegistrationReadError } from "../types.js";
|
|
5
5
|
import "../../../index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BlockParameters } from "../../../action/block.js";
|
|
2
1
|
import { EnsReadAction } from "../../../action/read-request.js";
|
|
2
|
+
import { BlockParameters } from "../../../action/block.js";
|
|
3
3
|
import { RegistrationParameters, RegistrationReadError } from "../types.js";
|
|
4
4
|
import "../../../index.js";
|
|
5
5
|
//#region src/actions/registration/get-registration-parameters/index.d.ts
|
|
@@ -44,15 +44,6 @@ declare const getRegistrationPlan: EnsReadAction<GetRegistrationPlanParameters,
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
readonly price: {
|
|
47
|
-
readonly status: "payment-token-required";
|
|
48
|
-
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
49
|
-
readonly protocol: "v1" | "v2";
|
|
50
|
-
} | {
|
|
51
|
-
readonly status: "unsupported-payment-token";
|
|
52
|
-
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
53
|
-
readonly protocol: "v1" | "v2";
|
|
54
|
-
readonly paymentToken: `0x${string}`;
|
|
55
|
-
} | {
|
|
56
47
|
readonly status: "available";
|
|
57
48
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
58
49
|
readonly protocol: "v1" | "v2";
|
|
@@ -76,6 +67,15 @@ declare const getRegistrationPlan: EnsReadAction<GetRegistrationPlanParameters,
|
|
|
76
67
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
77
68
|
readonly protocol: "v1" | "v2";
|
|
78
69
|
readonly reason: "NAME_UNAVAILABLE";
|
|
70
|
+
} | {
|
|
71
|
+
readonly status: "payment-token-required";
|
|
72
|
+
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
73
|
+
readonly protocol: "v1" | "v2";
|
|
74
|
+
} | {
|
|
75
|
+
readonly status: "unsupported-payment-token";
|
|
76
|
+
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
77
|
+
readonly protocol: "v1" | "v2";
|
|
78
|
+
readonly paymentToken: `0x${string}`;
|
|
79
79
|
};
|
|
80
80
|
readonly commitment: {
|
|
81
81
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
@@ -3,15 +3,6 @@ import { RegistrationPriceParameters, RegistrationPriceResult, RegistrationReadE
|
|
|
3
3
|
import "../../../index.js";
|
|
4
4
|
//#region src/actions/registration/get-registration-price/index.d.ts
|
|
5
5
|
declare const getRegistrationPrice: EnsReadAction<RegistrationPriceParameters, {
|
|
6
|
-
readonly status: "payment-token-required";
|
|
7
|
-
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
8
|
-
readonly protocol: "v1" | "v2";
|
|
9
|
-
} | {
|
|
10
|
-
readonly status: "unsupported-payment-token";
|
|
11
|
-
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
12
|
-
readonly protocol: "v1" | "v2";
|
|
13
|
-
readonly paymentToken: `0x${string}`;
|
|
14
|
-
} | {
|
|
15
6
|
readonly status: "available";
|
|
16
7
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
17
8
|
readonly protocol: "v1" | "v2";
|
|
@@ -35,6 +26,15 @@ declare const getRegistrationPrice: EnsReadAction<RegistrationPriceParameters, {
|
|
|
35
26
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
36
27
|
readonly protocol: "v1" | "v2";
|
|
37
28
|
readonly reason: "NAME_UNAVAILABLE";
|
|
29
|
+
} | {
|
|
30
|
+
readonly status: "payment-token-required";
|
|
31
|
+
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
32
|
+
readonly protocol: "v1" | "v2";
|
|
33
|
+
} | {
|
|
34
|
+
readonly status: "unsupported-payment-token";
|
|
35
|
+
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
36
|
+
readonly protocol: "v1" | "v2";
|
|
37
|
+
readonly paymentToken: `0x${string}`;
|
|
38
38
|
}, RegistrationReadError>;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { type RegistrationReadError as GetRegistrationPriceError, type RegistrationPriceParameters as GetRegistrationPriceParameters, getRegistrationPrice };
|
|
@@ -3,6 +3,15 @@ import { RegistrationPriceParameters, RegistrationReadError, RenewalPriceResult
|
|
|
3
3
|
import "../../../index.js";
|
|
4
4
|
//#region src/actions/registration/get-renewal-price/index.d.ts
|
|
5
5
|
declare const getRenewalPrice: EnsReadAction<RegistrationPriceParameters, {
|
|
6
|
+
readonly status: "payment-token-required";
|
|
7
|
+
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
8
|
+
readonly protocol: "v1" | "v2";
|
|
9
|
+
} | {
|
|
10
|
+
readonly status: "unsupported-payment-token";
|
|
11
|
+
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
12
|
+
readonly protocol: "v1" | "v2";
|
|
13
|
+
readonly paymentToken: `0x${string}`;
|
|
14
|
+
} | {
|
|
6
15
|
readonly status: "renewable";
|
|
7
16
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
8
17
|
readonly protocol: "v1" | "v2";
|
|
@@ -25,15 +34,6 @@ declare const getRenewalPrice: EnsReadAction<RegistrationPriceParameters, {
|
|
|
25
34
|
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
26
35
|
readonly protocol: "v1" | "v2";
|
|
27
36
|
readonly reason: "NAME_NOT_RENEWABLE";
|
|
28
|
-
} | {
|
|
29
|
-
readonly status: "payment-token-required";
|
|
30
|
-
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
31
|
-
readonly protocol: "v1" | "v2";
|
|
32
|
-
} | {
|
|
33
|
-
readonly status: "unsupported-payment-token";
|
|
34
|
-
readonly name: string & import("effect/Brand").Brand<"NormalizedName">;
|
|
35
|
-
readonly protocol: "v1" | "v2";
|
|
36
|
-
readonly paymentToken: `0x${string}`;
|
|
37
37
|
}, RegistrationReadError>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { type RegistrationReadError as GetRenewalPriceError, type RegistrationPriceParameters as GetRenewalPriceParameters, getRenewalPrice };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BlockParameters } from "../../../action/block.js";
|
|
2
1
|
import { EnsReadAction } from "../../../action/read-request.js";
|
|
2
|
+
import { BlockParameters } from "../../../action/block.js";
|
|
3
3
|
import { EthereumAddress } from "../../../schemas/identity.js";
|
|
4
4
|
import { PaymentTokenSupport, RegistrationReadError } from "../types.js";
|
|
5
5
|
import "../../../index.js";
|
|
@@ -134,7 +134,7 @@ const renewNamesEffect = Effect.fn("ensforge.renewNames")(function* (config, par
|
|
|
134
134
|
atomicity: "none",
|
|
135
135
|
confirmation: confirmed
|
|
136
136
|
});
|
|
137
|
-
const contractBatch = supportsContractRenewalBatch(
|
|
137
|
+
const contractBatch = supportsContractRenewalBatch(first.quote.route);
|
|
138
138
|
stages.push({
|
|
139
139
|
type: "calls",
|
|
140
140
|
id: renewalStageId,
|
|
@@ -168,7 +168,7 @@ const renewNamesEffect = Effect.fn("ensforge.renewNames")(function* (config, par
|
|
|
168
168
|
const stage = write.completedStages.find((candidate) => candidate.id === stageId);
|
|
169
169
|
const entryCall = group?.findIndex((candidate) => candidate === entry) ?? -1;
|
|
170
170
|
const callResult = stage?.result.mode === "sequential" && entryCall >= 0 ? stage.result.calls[entryCall] : void 0;
|
|
171
|
-
if (!(completedIds.has(stageId) || group !== void 0 && !supportsContractRenewalBatch(
|
|
171
|
+
if (!(completedIds.has(stageId) || group !== void 0 && !supportsContractRenewalBatch(entry.quote.route) && callResult !== void 0 && callResult.status !== "not-started")) return {
|
|
172
172
|
name: entry.quote.name,
|
|
173
173
|
protocol: entry.quote.protocol,
|
|
174
174
|
route: entry.quote.route,
|