aiia-vault-sdk 1.1.31 → 1.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/dist/FairLaunch.d.ts +1 -1
- package/dist/FairLaunch.js +1 -1
- package/dist/MultiLevelReferralNFT.d.ts +159 -0
- package/dist/MultiLevelReferralNFT.js +1 -0
- package/dist/abis/FairLaunch.json +95 -4
- package/dist/abis/MultiLevelReferralNFT.json +827 -0
- package/dist/contracts/FairLaunch.d.ts +64 -10
- package/dist/contracts/MultiLevelReferralNFT.d.ts +368 -0
- package/dist/contracts/MultiLevelReferralNFT.js +1 -0
- package/dist/contracts.json +3 -1
- package/dist/types.d.ts +57 -0
- package/package.json +1 -1
@@ -1,15 +1,15 @@
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../common";
|
3
3
|
export interface FairLaunchInterface extends Interface {
|
4
|
-
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "OPERATOR_ROLE" | "addLiquidity" | "claimInitial" | "claimVested" | "claimingEnabled" | "contribute" | "contributors" | "dexRouter" | "earlyParticipationWindow" | "enableClaiming" | "endSale" | "endTime" | "fundingToken" | "getContributorAt" | "getContributorsCount" | "getRoleAdmin" | "getSaleInfo" | "getUserInfo" | "grantRole" | "hasRole" | "initialClaimPercent" | "initialize" | "liquidityAdded" | "liquidityPercent" | "liquidityTokens" | "owner" | "projectToken" | "renounceOwnership" | "renounceRole" | "revokeRole" | "saleEnded" | "startTime" | "supportsInterface" | "tokenPrice" | "totalRaised" | "totalTokensForSale" | "tradingVault" | "transferOwnership" | "updateEarlyParticipationWindow" | "updateInitialClaimPercent" | "updateLiquidityPercent" | "updateLiquidityTokens" | "updateVestingDuration" | "userContributions" | "vestingDuration" | "vestingStartTime" | "withdrawERC20" | "withdrawLPTokens"): FunctionFragment;
|
5
|
-
getEvent(nameOrSignatureOrTopic: "ClaimingEnabled" | "Contributed" | "InitialClaimed" | "Initialized" | "LiquidityAdded" | "OwnershipTransferred" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SaleEnded" | "TradingVaultPositionCreated" | "VestedClaimed"): EventFragment;
|
4
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "OPERATOR_ROLE" | "addLiquidity" | "claimInitial" | "claimVested" | "claimingEnabled" | "contribute" | "contributors" | "dexRouter" | "earlyParticipationWindow" | "enableClaiming" | "endSale" | "endTime" | "fundingToken" | "fundingTokenPrice" | "getContributorAt" | "getContributorsCount" | "getRoleAdmin" | "getSaleInfo" | "getUserInfo" | "grantRole" | "hasRole" | "initialClaimPercent" | "initialize" | "liquidityAdded" | "liquidityPercent" | "liquidityTokens" | "owner" | "projectToken" | "renounceOwnership" | "renounceRole" | "revokeRole" | "saleEnded" | "startTime" | "supportsInterface" | "tokenPrice" | "totalRaised" | "totalTokensForSale" | "tradingVault" | "transferOwnership" | "updateEarlyParticipationWindow" | "updateFundingTokenPrice" | "updateInitialClaimPercent" | "updateLiquidityPercent" | "updateLiquidityTokens" | "updateVestingDuration" | "userContributions" | "vestingDuration" | "vestingStartTime" | "withdrawERC20" | "withdrawETH" | "withdrawLPTokens"): FunctionFragment;
|
5
|
+
getEvent(nameOrSignatureOrTopic: "ClaimingEnabled" | "Contributed" | "ETHWithdrawn" | "InitialClaimed" | "Initialized" | "LiquidityAdded" | "OwnershipTransferred" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SaleEnded" | "TradingVaultPositionCreated" | "VestedClaimed"): EventFragment;
|
6
6
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
7
7
|
encodeFunctionData(functionFragment: "OPERATOR_ROLE", values?: undefined): string;
|
8
8
|
encodeFunctionData(functionFragment: "addLiquidity", values?: undefined): string;
|
9
9
|
encodeFunctionData(functionFragment: "claimInitial", values?: undefined): string;
|
10
10
|
encodeFunctionData(functionFragment: "claimVested", values?: undefined): string;
|
11
11
|
encodeFunctionData(functionFragment: "claimingEnabled", values?: undefined): string;
|
12
|
-
encodeFunctionData(functionFragment: "contribute", values: [BigNumberish]): string;
|
12
|
+
encodeFunctionData(functionFragment: "contribute", values: [BigNumberish, AddressLike]): string;
|
13
13
|
encodeFunctionData(functionFragment: "contributors", values: [BigNumberish]): string;
|
14
14
|
encodeFunctionData(functionFragment: "dexRouter", values?: undefined): string;
|
15
15
|
encodeFunctionData(functionFragment: "earlyParticipationWindow", values?: undefined): string;
|
@@ -17,6 +17,7 @@ export interface FairLaunchInterface extends Interface {
|
|
17
17
|
encodeFunctionData(functionFragment: "endSale", values?: undefined): string;
|
18
18
|
encodeFunctionData(functionFragment: "endTime", values?: undefined): string;
|
19
19
|
encodeFunctionData(functionFragment: "fundingToken", values?: undefined): string;
|
20
|
+
encodeFunctionData(functionFragment: "fundingTokenPrice", values?: undefined): string;
|
20
21
|
encodeFunctionData(functionFragment: "getContributorAt", values: [BigNumberish]): string;
|
21
22
|
encodeFunctionData(functionFragment: "getContributorsCount", values?: undefined): string;
|
22
23
|
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
@@ -37,6 +38,7 @@ export interface FairLaunchInterface extends Interface {
|
|
37
38
|
BigNumberish,
|
38
39
|
BigNumberish,
|
39
40
|
BigNumberish,
|
41
|
+
BigNumberish,
|
40
42
|
BigNumberish
|
41
43
|
]): string;
|
42
44
|
encodeFunctionData(functionFragment: "liquidityAdded", values?: undefined): string;
|
@@ -56,6 +58,7 @@ export interface FairLaunchInterface extends Interface {
|
|
56
58
|
encodeFunctionData(functionFragment: "tradingVault", values?: undefined): string;
|
57
59
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
58
60
|
encodeFunctionData(functionFragment: "updateEarlyParticipationWindow", values: [BigNumberish]): string;
|
61
|
+
encodeFunctionData(functionFragment: "updateFundingTokenPrice", values: [BigNumberish]): string;
|
59
62
|
encodeFunctionData(functionFragment: "updateInitialClaimPercent", values: [BigNumberish]): string;
|
60
63
|
encodeFunctionData(functionFragment: "updateLiquidityPercent", values: [BigNumberish]): string;
|
61
64
|
encodeFunctionData(functionFragment: "updateLiquidityTokens", values: [BigNumberish]): string;
|
@@ -64,6 +67,7 @@ export interface FairLaunchInterface extends Interface {
|
|
64
67
|
encodeFunctionData(functionFragment: "vestingDuration", values?: undefined): string;
|
65
68
|
encodeFunctionData(functionFragment: "vestingStartTime", values?: undefined): string;
|
66
69
|
encodeFunctionData(functionFragment: "withdrawERC20", values: [AddressLike, BigNumberish]): string;
|
70
|
+
encodeFunctionData(functionFragment: "withdrawETH", values: [BigNumberish, AddressLike]): string;
|
67
71
|
encodeFunctionData(functionFragment: "withdrawLPTokens", values: [AddressLike, AddressLike]): string;
|
68
72
|
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
69
73
|
decodeFunctionResult(functionFragment: "OPERATOR_ROLE", data: BytesLike): Result;
|
@@ -79,6 +83,7 @@ export interface FairLaunchInterface extends Interface {
|
|
79
83
|
decodeFunctionResult(functionFragment: "endSale", data: BytesLike): Result;
|
80
84
|
decodeFunctionResult(functionFragment: "endTime", data: BytesLike): Result;
|
81
85
|
decodeFunctionResult(functionFragment: "fundingToken", data: BytesLike): Result;
|
86
|
+
decodeFunctionResult(functionFragment: "fundingTokenPrice", data: BytesLike): Result;
|
82
87
|
decodeFunctionResult(functionFragment: "getContributorAt", data: BytesLike): Result;
|
83
88
|
decodeFunctionResult(functionFragment: "getContributorsCount", data: BytesLike): Result;
|
84
89
|
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
@@ -105,6 +110,7 @@ export interface FairLaunchInterface extends Interface {
|
|
105
110
|
decodeFunctionResult(functionFragment: "tradingVault", data: BytesLike): Result;
|
106
111
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
107
112
|
decodeFunctionResult(functionFragment: "updateEarlyParticipationWindow", data: BytesLike): Result;
|
113
|
+
decodeFunctionResult(functionFragment: "updateFundingTokenPrice", data: BytesLike): Result;
|
108
114
|
decodeFunctionResult(functionFragment: "updateInitialClaimPercent", data: BytesLike): Result;
|
109
115
|
decodeFunctionResult(functionFragment: "updateLiquidityPercent", data: BytesLike): Result;
|
110
116
|
decodeFunctionResult(functionFragment: "updateLiquidityTokens", data: BytesLike): Result;
|
@@ -113,6 +119,7 @@ export interface FairLaunchInterface extends Interface {
|
|
113
119
|
decodeFunctionResult(functionFragment: "vestingDuration", data: BytesLike): Result;
|
114
120
|
decodeFunctionResult(functionFragment: "vestingStartTime", data: BytesLike): Result;
|
115
121
|
decodeFunctionResult(functionFragment: "withdrawERC20", data: BytesLike): Result;
|
122
|
+
decodeFunctionResult(functionFragment: "withdrawETH", data: BytesLike): Result;
|
116
123
|
decodeFunctionResult(functionFragment: "withdrawLPTokens", data: BytesLike): Result;
|
117
124
|
}
|
118
125
|
export declare namespace ClaimingEnabledEvent {
|
@@ -137,6 +144,18 @@ export declare namespace ContributedEvent {
|
|
137
144
|
type Log = TypedEventLog<Event>;
|
138
145
|
type LogDescription = TypedLogDescription<Event>;
|
139
146
|
}
|
147
|
+
export declare namespace ETHWithdrawnEvent {
|
148
|
+
type InputTuple = [recipient: AddressLike, amount: BigNumberish];
|
149
|
+
type OutputTuple = [recipient: string, amount: bigint];
|
150
|
+
interface OutputObject {
|
151
|
+
recipient: string;
|
152
|
+
amount: bigint;
|
153
|
+
}
|
154
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
155
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
156
|
+
type Log = TypedEventLog<Event>;
|
157
|
+
type LogDescription = TypedLogDescription<Event>;
|
158
|
+
}
|
140
159
|
export declare namespace InitialClaimedEvent {
|
141
160
|
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
142
161
|
type OutputTuple = [user: string, amount: bigint];
|
@@ -301,15 +320,16 @@ export interface FairLaunch extends BaseContract {
|
|
301
320
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
302
321
|
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
303
322
|
OPERATOR_ROLE: TypedContractMethod<[], [string], "view">;
|
304
|
-
addLiquidity: TypedContractMethod<[], [void], "
|
323
|
+
addLiquidity: TypedContractMethod<[], [void], "payable">;
|
305
324
|
claimInitial: TypedContractMethod<[], [void], "nonpayable">;
|
306
325
|
claimVested: TypedContractMethod<[], [void], "nonpayable">;
|
307
326
|
claimingEnabled: TypedContractMethod<[], [boolean], "view">;
|
308
327
|
contribute: TypedContractMethod<[
|
309
|
-
_amount: BigNumberish
|
328
|
+
_amount: BigNumberish,
|
329
|
+
_recipient: AddressLike
|
310
330
|
], [
|
311
331
|
void
|
312
|
-
], "
|
332
|
+
], "payable">;
|
313
333
|
contributors: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
314
334
|
dexRouter: TypedContractMethod<[], [string], "view">;
|
315
335
|
earlyParticipationWindow: TypedContractMethod<[], [bigint], "view">;
|
@@ -317,6 +337,7 @@ export interface FairLaunch extends BaseContract {
|
|
317
337
|
endSale: TypedContractMethod<[], [void], "nonpayable">;
|
318
338
|
endTime: TypedContractMethod<[], [bigint], "view">;
|
319
339
|
fundingToken: TypedContractMethod<[], [string], "view">;
|
340
|
+
fundingTokenPrice: TypedContractMethod<[], [bigint], "view">;
|
320
341
|
getContributorAt: TypedContractMethod<[
|
321
342
|
_index: BigNumberish
|
322
343
|
], [
|
@@ -392,7 +413,8 @@ export interface FairLaunch extends BaseContract {
|
|
392
413
|
_liquidityPercent: BigNumberish,
|
393
414
|
_initialClaimPercent: BigNumberish,
|
394
415
|
_vestingDuration: BigNumberish,
|
395
|
-
_earlyParticipationWindow: BigNumberish
|
416
|
+
_earlyParticipationWindow: BigNumberish,
|
417
|
+
_fundingTokenPrice: BigNumberish
|
396
418
|
], [
|
397
419
|
void
|
398
420
|
], "nonpayable">;
|
@@ -435,6 +457,11 @@ export interface FairLaunch extends BaseContract {
|
|
435
457
|
], [
|
436
458
|
void
|
437
459
|
], "nonpayable">;
|
460
|
+
updateFundingTokenPrice: TypedContractMethod<[
|
461
|
+
_fundingTokenPrice: BigNumberish
|
462
|
+
], [
|
463
|
+
void
|
464
|
+
], "nonpayable">;
|
438
465
|
updateInitialClaimPercent: TypedContractMethod<[
|
439
466
|
_initialClaimPercent: BigNumberish
|
440
467
|
], [
|
@@ -480,6 +507,12 @@ export interface FairLaunch extends BaseContract {
|
|
480
507
|
], [
|
481
508
|
void
|
482
509
|
], "nonpayable">;
|
510
|
+
withdrawETH: TypedContractMethod<[
|
511
|
+
_amount: BigNumberish,
|
512
|
+
_recipient: AddressLike
|
513
|
+
], [
|
514
|
+
void
|
515
|
+
], "nonpayable">;
|
483
516
|
withdrawLPTokens: TypedContractMethod<[
|
484
517
|
_lpToken: AddressLike,
|
485
518
|
_recipient: AddressLike
|
@@ -489,11 +522,16 @@ export interface FairLaunch extends BaseContract {
|
|
489
522
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
490
523
|
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
491
524
|
getFunction(nameOrSignature: "OPERATOR_ROLE"): TypedContractMethod<[], [string], "view">;
|
492
|
-
getFunction(nameOrSignature: "addLiquidity"): TypedContractMethod<[], [void], "
|
525
|
+
getFunction(nameOrSignature: "addLiquidity"): TypedContractMethod<[], [void], "payable">;
|
493
526
|
getFunction(nameOrSignature: "claimInitial"): TypedContractMethod<[], [void], "nonpayable">;
|
494
527
|
getFunction(nameOrSignature: "claimVested"): TypedContractMethod<[], [void], "nonpayable">;
|
495
528
|
getFunction(nameOrSignature: "claimingEnabled"): TypedContractMethod<[], [boolean], "view">;
|
496
|
-
getFunction(nameOrSignature: "contribute"): TypedContractMethod<[
|
529
|
+
getFunction(nameOrSignature: "contribute"): TypedContractMethod<[
|
530
|
+
_amount: BigNumberish,
|
531
|
+
_recipient: AddressLike
|
532
|
+
], [
|
533
|
+
void
|
534
|
+
], "payable">;
|
497
535
|
getFunction(nameOrSignature: "contributors"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
498
536
|
getFunction(nameOrSignature: "dexRouter"): TypedContractMethod<[], [string], "view">;
|
499
537
|
getFunction(nameOrSignature: "earlyParticipationWindow"): TypedContractMethod<[], [bigint], "view">;
|
@@ -501,6 +539,7 @@ export interface FairLaunch extends BaseContract {
|
|
501
539
|
getFunction(nameOrSignature: "endSale"): TypedContractMethod<[], [void], "nonpayable">;
|
502
540
|
getFunction(nameOrSignature: "endTime"): TypedContractMethod<[], [bigint], "view">;
|
503
541
|
getFunction(nameOrSignature: "fundingToken"): TypedContractMethod<[], [string], "view">;
|
542
|
+
getFunction(nameOrSignature: "fundingTokenPrice"): TypedContractMethod<[], [bigint], "view">;
|
504
543
|
getFunction(nameOrSignature: "getContributorAt"): TypedContractMethod<[_index: BigNumberish], [string], "view">;
|
505
544
|
getFunction(nameOrSignature: "getContributorsCount"): TypedContractMethod<[], [bigint], "view">;
|
506
545
|
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
@@ -572,7 +611,8 @@ export interface FairLaunch extends BaseContract {
|
|
572
611
|
_liquidityPercent: BigNumberish,
|
573
612
|
_initialClaimPercent: BigNumberish,
|
574
613
|
_vestingDuration: BigNumberish,
|
575
|
-
_earlyParticipationWindow: BigNumberish
|
614
|
+
_earlyParticipationWindow: BigNumberish,
|
615
|
+
_fundingTokenPrice: BigNumberish
|
576
616
|
], [
|
577
617
|
void
|
578
618
|
], "nonpayable">;
|
@@ -607,6 +647,11 @@ export interface FairLaunch extends BaseContract {
|
|
607
647
|
], [
|
608
648
|
void
|
609
649
|
], "nonpayable">;
|
650
|
+
getFunction(nameOrSignature: "updateFundingTokenPrice"): TypedContractMethod<[
|
651
|
+
_fundingTokenPrice: BigNumberish
|
652
|
+
], [
|
653
|
+
void
|
654
|
+
], "nonpayable">;
|
610
655
|
getFunction(nameOrSignature: "updateInitialClaimPercent"): TypedContractMethod<[
|
611
656
|
_initialClaimPercent: BigNumberish
|
612
657
|
], [
|
@@ -652,6 +697,12 @@ export interface FairLaunch extends BaseContract {
|
|
652
697
|
], [
|
653
698
|
void
|
654
699
|
], "nonpayable">;
|
700
|
+
getFunction(nameOrSignature: "withdrawETH"): TypedContractMethod<[
|
701
|
+
_amount: BigNumberish,
|
702
|
+
_recipient: AddressLike
|
703
|
+
], [
|
704
|
+
void
|
705
|
+
], "nonpayable">;
|
655
706
|
getFunction(nameOrSignature: "withdrawLPTokens"): TypedContractMethod<[
|
656
707
|
_lpToken: AddressLike,
|
657
708
|
_recipient: AddressLike
|
@@ -660,6 +711,7 @@ export interface FairLaunch extends BaseContract {
|
|
660
711
|
], "nonpayable">;
|
661
712
|
getEvent(key: "ClaimingEnabled"): TypedContractEvent<ClaimingEnabledEvent.InputTuple, ClaimingEnabledEvent.OutputTuple, ClaimingEnabledEvent.OutputObject>;
|
662
713
|
getEvent(key: "Contributed"): TypedContractEvent<ContributedEvent.InputTuple, ContributedEvent.OutputTuple, ContributedEvent.OutputObject>;
|
714
|
+
getEvent(key: "ETHWithdrawn"): TypedContractEvent<ETHWithdrawnEvent.InputTuple, ETHWithdrawnEvent.OutputTuple, ETHWithdrawnEvent.OutputObject>;
|
663
715
|
getEvent(key: "InitialClaimed"): TypedContractEvent<InitialClaimedEvent.InputTuple, InitialClaimedEvent.OutputTuple, InitialClaimedEvent.OutputObject>;
|
664
716
|
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
665
717
|
getEvent(key: "LiquidityAdded"): TypedContractEvent<LiquidityAddedEvent.InputTuple, LiquidityAddedEvent.OutputTuple, LiquidityAddedEvent.OutputObject>;
|
@@ -675,6 +727,8 @@ export interface FairLaunch extends BaseContract {
|
|
675
727
|
ClaimingEnabled: TypedContractEvent<ClaimingEnabledEvent.InputTuple, ClaimingEnabledEvent.OutputTuple, ClaimingEnabledEvent.OutputObject>;
|
676
728
|
"Contributed(address,uint256)": TypedContractEvent<ContributedEvent.InputTuple, ContributedEvent.OutputTuple, ContributedEvent.OutputObject>;
|
677
729
|
Contributed: TypedContractEvent<ContributedEvent.InputTuple, ContributedEvent.OutputTuple, ContributedEvent.OutputObject>;
|
730
|
+
"ETHWithdrawn(address,uint256)": TypedContractEvent<ETHWithdrawnEvent.InputTuple, ETHWithdrawnEvent.OutputTuple, ETHWithdrawnEvent.OutputObject>;
|
731
|
+
ETHWithdrawn: TypedContractEvent<ETHWithdrawnEvent.InputTuple, ETHWithdrawnEvent.OutputTuple, ETHWithdrawnEvent.OutputObject>;
|
678
732
|
"InitialClaimed(address,uint256)": TypedContractEvent<InitialClaimedEvent.InputTuple, InitialClaimedEvent.OutputTuple, InitialClaimedEvent.OutputObject>;
|
679
733
|
InitialClaimed: TypedContractEvent<InitialClaimedEvent.InputTuple, InitialClaimedEvent.OutputTuple, InitialClaimedEvent.OutputObject>;
|
680
734
|
"Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
@@ -0,0 +1,368 @@
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../common";
|
3
|
+
export interface MultiLevelReferralNFTInterface extends Interface {
|
4
|
+
getFunction(nameOrSignature: "approve" | "balanceOf" | "buy" | "getApproved" | "initialize" | "isApprovedForAll" | "maxReferralLevels" | "name" | "owner" | "ownerOf" | "price" | "referralCodes" | "referrers" | "renounceOwnership" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "setPrice" | "sharePercent" | "supportsInterface" | "symbol" | "tokenURI" | "transferFrom" | "transferOwnership" | "userReferralCodes" | "withdraw"): FunctionFragment;
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "ApprovalForAll" | "Initialized" | "NFTMinted" | "OwnershipTransferred" | "ReferralPaid" | "ReferrerSet" | "Transfer"): EventFragment;
|
6
|
+
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
7
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
8
|
+
encodeFunctionData(functionFragment: "buy", values: [string]): string;
|
9
|
+
encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string;
|
10
|
+
encodeFunctionData(functionFragment: "initialize", values: [AddressLike, string, string]): string;
|
11
|
+
encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): string;
|
12
|
+
encodeFunctionData(functionFragment: "maxReferralLevels", values?: undefined): string;
|
13
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
14
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
15
|
+
encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string;
|
16
|
+
encodeFunctionData(functionFragment: "price", values?: undefined): string;
|
17
|
+
encodeFunctionData(functionFragment: "referralCodes", values: [string]): string;
|
18
|
+
encodeFunctionData(functionFragment: "referrers", values: [AddressLike]): string;
|
19
|
+
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
20
|
+
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish]): string;
|
21
|
+
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
22
|
+
encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
|
23
|
+
encodeFunctionData(functionFragment: "setPrice", values: [BigNumberish]): string;
|
24
|
+
encodeFunctionData(functionFragment: "sharePercent", values?: undefined): string;
|
25
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
26
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
27
|
+
encodeFunctionData(functionFragment: "tokenURI", values: [BigNumberish]): string;
|
28
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
29
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
30
|
+
encodeFunctionData(functionFragment: "userReferralCodes", values: [AddressLike]): string;
|
31
|
+
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
|
32
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
33
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
34
|
+
decodeFunctionResult(functionFragment: "buy", data: BytesLike): Result;
|
35
|
+
decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result;
|
36
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
37
|
+
decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
|
38
|
+
decodeFunctionResult(functionFragment: "maxReferralLevels", data: BytesLike): Result;
|
39
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
40
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
41
|
+
decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
|
42
|
+
decodeFunctionResult(functionFragment: "price", data: BytesLike): Result;
|
43
|
+
decodeFunctionResult(functionFragment: "referralCodes", data: BytesLike): Result;
|
44
|
+
decodeFunctionResult(functionFragment: "referrers", data: BytesLike): Result;
|
45
|
+
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
46
|
+
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result;
|
47
|
+
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result;
|
48
|
+
decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
|
49
|
+
decodeFunctionResult(functionFragment: "setPrice", data: BytesLike): Result;
|
50
|
+
decodeFunctionResult(functionFragment: "sharePercent", data: BytesLike): Result;
|
51
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
52
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
53
|
+
decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result;
|
54
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
55
|
+
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
56
|
+
decodeFunctionResult(functionFragment: "userReferralCodes", data: BytesLike): Result;
|
57
|
+
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
58
|
+
}
|
59
|
+
export declare namespace ApprovalEvent {
|
60
|
+
type InputTuple = [
|
61
|
+
owner: AddressLike,
|
62
|
+
approved: AddressLike,
|
63
|
+
tokenId: BigNumberish
|
64
|
+
];
|
65
|
+
type OutputTuple = [owner: string, approved: string, tokenId: bigint];
|
66
|
+
interface OutputObject {
|
67
|
+
owner: string;
|
68
|
+
approved: string;
|
69
|
+
tokenId: bigint;
|
70
|
+
}
|
71
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
72
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
73
|
+
type Log = TypedEventLog<Event>;
|
74
|
+
type LogDescription = TypedLogDescription<Event>;
|
75
|
+
}
|
76
|
+
export declare namespace ApprovalForAllEvent {
|
77
|
+
type InputTuple = [
|
78
|
+
owner: AddressLike,
|
79
|
+
operator: AddressLike,
|
80
|
+
approved: boolean
|
81
|
+
];
|
82
|
+
type OutputTuple = [
|
83
|
+
owner: string,
|
84
|
+
operator: string,
|
85
|
+
approved: boolean
|
86
|
+
];
|
87
|
+
interface OutputObject {
|
88
|
+
owner: string;
|
89
|
+
operator: string;
|
90
|
+
approved: boolean;
|
91
|
+
}
|
92
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
93
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
94
|
+
type Log = TypedEventLog<Event>;
|
95
|
+
type LogDescription = TypedLogDescription<Event>;
|
96
|
+
}
|
97
|
+
export declare namespace InitializedEvent {
|
98
|
+
type InputTuple = [version: BigNumberish];
|
99
|
+
type OutputTuple = [version: bigint];
|
100
|
+
interface OutputObject {
|
101
|
+
version: bigint;
|
102
|
+
}
|
103
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
104
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
105
|
+
type Log = TypedEventLog<Event>;
|
106
|
+
type LogDescription = TypedLogDescription<Event>;
|
107
|
+
}
|
108
|
+
export declare namespace NFTMintedEvent {
|
109
|
+
type InputTuple = [owner: AddressLike, tokenId: BigNumberish];
|
110
|
+
type OutputTuple = [owner: string, tokenId: bigint];
|
111
|
+
interface OutputObject {
|
112
|
+
owner: string;
|
113
|
+
tokenId: bigint;
|
114
|
+
}
|
115
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
116
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
117
|
+
type Log = TypedEventLog<Event>;
|
118
|
+
type LogDescription = TypedLogDescription<Event>;
|
119
|
+
}
|
120
|
+
export declare namespace OwnershipTransferredEvent {
|
121
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
122
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
123
|
+
interface OutputObject {
|
124
|
+
previousOwner: string;
|
125
|
+
newOwner: string;
|
126
|
+
}
|
127
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
128
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
129
|
+
type Log = TypedEventLog<Event>;
|
130
|
+
type LogDescription = TypedLogDescription<Event>;
|
131
|
+
}
|
132
|
+
export declare namespace ReferralPaidEvent {
|
133
|
+
type InputTuple = [
|
134
|
+
receiver: AddressLike,
|
135
|
+
buyer: AddressLike,
|
136
|
+
amount: BigNumberish,
|
137
|
+
level: BigNumberish,
|
138
|
+
originalAmount: BigNumberish
|
139
|
+
];
|
140
|
+
type OutputTuple = [
|
141
|
+
receiver: string,
|
142
|
+
buyer: string,
|
143
|
+
amount: bigint,
|
144
|
+
level: bigint,
|
145
|
+
originalAmount: bigint
|
146
|
+
];
|
147
|
+
interface OutputObject {
|
148
|
+
receiver: string;
|
149
|
+
buyer: string;
|
150
|
+
amount: bigint;
|
151
|
+
level: bigint;
|
152
|
+
originalAmount: bigint;
|
153
|
+
}
|
154
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
155
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
156
|
+
type Log = TypedEventLog<Event>;
|
157
|
+
type LogDescription = TypedLogDescription<Event>;
|
158
|
+
}
|
159
|
+
export declare namespace ReferrerSetEvent {
|
160
|
+
type InputTuple = [referrer: AddressLike, referee: AddressLike];
|
161
|
+
type OutputTuple = [referrer: string, referee: string];
|
162
|
+
interface OutputObject {
|
163
|
+
referrer: string;
|
164
|
+
referee: string;
|
165
|
+
}
|
166
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
167
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
168
|
+
type Log = TypedEventLog<Event>;
|
169
|
+
type LogDescription = TypedLogDescription<Event>;
|
170
|
+
}
|
171
|
+
export declare namespace TransferEvent {
|
172
|
+
type InputTuple = [
|
173
|
+
from: AddressLike,
|
174
|
+
to: AddressLike,
|
175
|
+
tokenId: BigNumberish
|
176
|
+
];
|
177
|
+
type OutputTuple = [from: string, to: string, tokenId: bigint];
|
178
|
+
interface OutputObject {
|
179
|
+
from: string;
|
180
|
+
to: string;
|
181
|
+
tokenId: bigint;
|
182
|
+
}
|
183
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
184
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
185
|
+
type Log = TypedEventLog<Event>;
|
186
|
+
type LogDescription = TypedLogDescription<Event>;
|
187
|
+
}
|
188
|
+
export interface MultiLevelReferralNFT extends BaseContract {
|
189
|
+
connect(runner?: ContractRunner | null): MultiLevelReferralNFT;
|
190
|
+
waitForDeployment(): Promise<this>;
|
191
|
+
interface: MultiLevelReferralNFTInterface;
|
192
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
193
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
194
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
195
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
196
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
197
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
198
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
199
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
200
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
201
|
+
approve: TypedContractMethod<[
|
202
|
+
to: AddressLike,
|
203
|
+
tokenId: BigNumberish
|
204
|
+
], [
|
205
|
+
void
|
206
|
+
], "nonpayable">;
|
207
|
+
balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
208
|
+
buy: TypedContractMethod<[_referralCode: string], [void], "payable">;
|
209
|
+
getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
210
|
+
initialize: TypedContractMethod<[
|
211
|
+
owner: AddressLike,
|
212
|
+
name: string,
|
213
|
+
symbol: string
|
214
|
+
], [
|
215
|
+
void
|
216
|
+
], "nonpayable">;
|
217
|
+
isApprovedForAll: TypedContractMethod<[
|
218
|
+
owner: AddressLike,
|
219
|
+
operator: AddressLike
|
220
|
+
], [
|
221
|
+
boolean
|
222
|
+
], "view">;
|
223
|
+
maxReferralLevels: TypedContractMethod<[], [bigint], "view">;
|
224
|
+
name: TypedContractMethod<[], [string], "view">;
|
225
|
+
owner: TypedContractMethod<[], [string], "view">;
|
226
|
+
ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
227
|
+
price: TypedContractMethod<[], [bigint], "view">;
|
228
|
+
referralCodes: TypedContractMethod<[arg0: string], [string], "view">;
|
229
|
+
referrers: TypedContractMethod<[arg0: AddressLike], [string], "view">;
|
230
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
231
|
+
"safeTransferFrom(address,address,uint256)": TypedContractMethod<[
|
232
|
+
from: AddressLike,
|
233
|
+
to: AddressLike,
|
234
|
+
tokenId: BigNumberish
|
235
|
+
], [
|
236
|
+
void
|
237
|
+
], "nonpayable">;
|
238
|
+
"safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod<[
|
239
|
+
from: AddressLike,
|
240
|
+
to: AddressLike,
|
241
|
+
tokenId: BigNumberish,
|
242
|
+
data: BytesLike
|
243
|
+
], [
|
244
|
+
void
|
245
|
+
], "nonpayable">;
|
246
|
+
setApprovalForAll: TypedContractMethod<[
|
247
|
+
operator: AddressLike,
|
248
|
+
approved: boolean
|
249
|
+
], [
|
250
|
+
void
|
251
|
+
], "nonpayable">;
|
252
|
+
setPrice: TypedContractMethod<[_price: BigNumberish], [void], "nonpayable">;
|
253
|
+
sharePercent: TypedContractMethod<[], [bigint], "view">;
|
254
|
+
supportsInterface: TypedContractMethod<[
|
255
|
+
interfaceId: BytesLike
|
256
|
+
], [
|
257
|
+
boolean
|
258
|
+
], "view">;
|
259
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
260
|
+
tokenURI: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
261
|
+
transferFrom: TypedContractMethod<[
|
262
|
+
from: AddressLike,
|
263
|
+
to: AddressLike,
|
264
|
+
tokenId: BigNumberish
|
265
|
+
], [
|
266
|
+
void
|
267
|
+
], "nonpayable">;
|
268
|
+
transferOwnership: TypedContractMethod<[
|
269
|
+
newOwner: AddressLike
|
270
|
+
], [
|
271
|
+
void
|
272
|
+
], "nonpayable">;
|
273
|
+
userReferralCodes: TypedContractMethod<[arg0: AddressLike], [string], "view">;
|
274
|
+
withdraw: TypedContractMethod<[_amount: BigNumberish], [void], "nonpayable">;
|
275
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
276
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
277
|
+
to: AddressLike,
|
278
|
+
tokenId: BigNumberish
|
279
|
+
], [
|
280
|
+
void
|
281
|
+
], "nonpayable">;
|
282
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
283
|
+
getFunction(nameOrSignature: "buy"): TypedContractMethod<[_referralCode: string], [void], "payable">;
|
284
|
+
getFunction(nameOrSignature: "getApproved"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
285
|
+
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
286
|
+
owner: AddressLike,
|
287
|
+
name: string,
|
288
|
+
symbol: string
|
289
|
+
], [
|
290
|
+
void
|
291
|
+
], "nonpayable">;
|
292
|
+
getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[
|
293
|
+
owner: AddressLike,
|
294
|
+
operator: AddressLike
|
295
|
+
], [
|
296
|
+
boolean
|
297
|
+
], "view">;
|
298
|
+
getFunction(nameOrSignature: "maxReferralLevels"): TypedContractMethod<[], [bigint], "view">;
|
299
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
300
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
301
|
+
getFunction(nameOrSignature: "ownerOf"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
302
|
+
getFunction(nameOrSignature: "price"): TypedContractMethod<[], [bigint], "view">;
|
303
|
+
getFunction(nameOrSignature: "referralCodes"): TypedContractMethod<[arg0: string], [string], "view">;
|
304
|
+
getFunction(nameOrSignature: "referrers"): TypedContractMethod<[arg0: AddressLike], [string], "view">;
|
305
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
306
|
+
getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256)"): TypedContractMethod<[
|
307
|
+
from: AddressLike,
|
308
|
+
to: AddressLike,
|
309
|
+
tokenId: BigNumberish
|
310
|
+
], [
|
311
|
+
void
|
312
|
+
], "nonpayable">;
|
313
|
+
getFunction(nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)"): TypedContractMethod<[
|
314
|
+
from: AddressLike,
|
315
|
+
to: AddressLike,
|
316
|
+
tokenId: BigNumberish,
|
317
|
+
data: BytesLike
|
318
|
+
], [
|
319
|
+
void
|
320
|
+
], "nonpayable">;
|
321
|
+
getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[
|
322
|
+
operator: AddressLike,
|
323
|
+
approved: boolean
|
324
|
+
], [
|
325
|
+
void
|
326
|
+
], "nonpayable">;
|
327
|
+
getFunction(nameOrSignature: "setPrice"): TypedContractMethod<[_price: BigNumberish], [void], "nonpayable">;
|
328
|
+
getFunction(nameOrSignature: "sharePercent"): TypedContractMethod<[], [bigint], "view">;
|
329
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
330
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
331
|
+
getFunction(nameOrSignature: "tokenURI"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
332
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
333
|
+
from: AddressLike,
|
334
|
+
to: AddressLike,
|
335
|
+
tokenId: BigNumberish
|
336
|
+
], [
|
337
|
+
void
|
338
|
+
], "nonpayable">;
|
339
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
340
|
+
getFunction(nameOrSignature: "userReferralCodes"): TypedContractMethod<[arg0: AddressLike], [string], "view">;
|
341
|
+
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[_amount: BigNumberish], [void], "nonpayable">;
|
342
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
343
|
+
getEvent(key: "ApprovalForAll"): TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
344
|
+
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
345
|
+
getEvent(key: "NFTMinted"): TypedContractEvent<NFTMintedEvent.InputTuple, NFTMintedEvent.OutputTuple, NFTMintedEvent.OutputObject>;
|
346
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
347
|
+
getEvent(key: "ReferralPaid"): TypedContractEvent<ReferralPaidEvent.InputTuple, ReferralPaidEvent.OutputTuple, ReferralPaidEvent.OutputObject>;
|
348
|
+
getEvent(key: "ReferrerSet"): TypedContractEvent<ReferrerSetEvent.InputTuple, ReferrerSetEvent.OutputTuple, ReferrerSetEvent.OutputObject>;
|
349
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
350
|
+
filters: {
|
351
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
352
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
353
|
+
"ApprovalForAll(address,address,bool)": TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
354
|
+
ApprovalForAll: TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
355
|
+
"Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
356
|
+
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
357
|
+
"NFTMinted(address,uint256)": TypedContractEvent<NFTMintedEvent.InputTuple, NFTMintedEvent.OutputTuple, NFTMintedEvent.OutputObject>;
|
358
|
+
NFTMinted: TypedContractEvent<NFTMintedEvent.InputTuple, NFTMintedEvent.OutputTuple, NFTMintedEvent.OutputObject>;
|
359
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
360
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
361
|
+
"ReferralPaid(address,address,uint256,uint256,uint256)": TypedContractEvent<ReferralPaidEvent.InputTuple, ReferralPaidEvent.OutputTuple, ReferralPaidEvent.OutputObject>;
|
362
|
+
ReferralPaid: TypedContractEvent<ReferralPaidEvent.InputTuple, ReferralPaidEvent.OutputTuple, ReferralPaidEvent.OutputObject>;
|
363
|
+
"ReferrerSet(address,address)": TypedContractEvent<ReferrerSetEvent.InputTuple, ReferrerSetEvent.OutputTuple, ReferrerSetEvent.OutputObject>;
|
364
|
+
ReferrerSet: TypedContractEvent<ReferrerSetEvent.InputTuple, ReferrerSetEvent.OutputTuple, ReferrerSetEvent.OutputObject>;
|
365
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
366
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
367
|
+
};
|
368
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
package/dist/contracts.json
CHANGED
@@ -35,7 +35,9 @@
|
|
35
35
|
"PTK": "0x7A526040174f47581B7a5dEf81E65045541Bbfc6",
|
36
36
|
"USDT": "0x4127a3682c9Df86907AD62FC2ae7B5DD1A57991b",
|
37
37
|
"FairLaunch": "0xe13b4638aE2542Aa9893DC863C02D8d2d50E2035",
|
38
|
-
"FairLaunch-implemented": "0xeA220B32271b7ded1B3D079A7a6A88499Fd6790f"
|
38
|
+
"FairLaunch-implemented": "0xeA220B32271b7ded1B3D079A7a6A88499Fd6790f",
|
39
|
+
"MultiLevelReferralNFT": "0xB183748cEb1060162e1ac95D59C82298e9Ef43D9",
|
40
|
+
"MultiLevelReferralNFT-implemented": "0xe432279c60ee5024853E28936f897C4c4E9C2Cb9"
|
39
41
|
},
|
40
42
|
"base": {
|
41
43
|
"SeedRoundFundraiser": "0x3e7b414cAd1011c757dBA1a58212Db561dc9feeB"
|