@gearbox-protocol/sdk 1.14.2 → 1.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rewards/poolRewards.d.ts +1 -1
- package/lib/rewards/poolRewards.js +1 -1
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor.d.ts +114 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor.js +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents.d.ts +68 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents.js +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/index.d.ts +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/index.js +2 -0
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT.d.ts +196 -1
- package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/index.d.ts +2 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +18 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +85 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +35 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributor__factory.js +163 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/index.d.ts +2 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/index.js +10 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT__factory.d.ts +3 -10
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT__factory.js +330 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/index.js +2 -1
- package/lib/types/index.d.ts +4 -0
- package/lib/types/index.js +7 -3
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export interface Reward {
|
|
|
8
8
|
}
|
|
9
9
|
export declare class PoolRewards {
|
|
10
10
|
static computeReward(dieselToken: string, address: string, provider: providers.Provider, networkType: NetworkType, toBlock?: number): Promise<BigNumber>;
|
|
11
|
-
computeAllRewards(dieselToken: string, provider: providers.Provider, networkType: NetworkType, toBlock?: number): Promise<Array<Reward>>;
|
|
11
|
+
static computeAllRewards(dieselToken: string, provider: providers.Provider, networkType: NetworkType, toBlock?: number): Promise<Array<Reward>>;
|
|
12
12
|
static computeRewardInt(toBlock: number, balance: RangedValue, totalSupply: RangedValue, rewardPerBlock: RangedValue): BigNumber;
|
|
13
13
|
protected static query(dieselToken: string, provider: providers.Provider, toBlock: number): Promise<Array<TransferEvent>>;
|
|
14
14
|
protected static getRewardsRange(dieselToken: string, networkType: NetworkType): RangedValue;
|
|
@@ -103,7 +103,7 @@ var PoolRewards = /** @class */ (function () {
|
|
|
103
103
|
});
|
|
104
104
|
});
|
|
105
105
|
};
|
|
106
|
-
PoolRewards.
|
|
106
|
+
PoolRewards.computeAllRewards = function (dieselToken, provider, networkType, toBlock) {
|
|
107
107
|
return __awaiter(this, void 0, void 0, function () {
|
|
108
108
|
var toBlockQuery, _a, query, totalSupplyRange, rewardPerBlock, balancesRange, totalSupply, balances;
|
|
109
109
|
return __generator(this, function (_b) {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
|
|
2
|
+
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
3
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../../../common";
|
|
5
|
+
export interface IAirdropDistributorInterface extends utils.Interface {
|
|
6
|
+
functions: {
|
|
7
|
+
"claim(uint256,address,uint256,uint256,bytes32[])": FunctionFragment;
|
|
8
|
+
"claimed(address)": FunctionFragment;
|
|
9
|
+
"merkleRoot()": FunctionFragment;
|
|
10
|
+
"token()": FunctionFragment;
|
|
11
|
+
};
|
|
12
|
+
getFunction(nameOrSignatureOrTopic: "claim" | "claimed" | "merkleRoot" | "token"): FunctionFragment;
|
|
13
|
+
encodeFunctionData(functionFragment: "claim", values: [BigNumberish, string, BigNumberish, BigNumberish, BytesLike[]]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "claimed", values: [string]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "merkleRoot", values?: undefined): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "token", values?: undefined): string;
|
|
17
|
+
decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "claimed", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "merkleRoot", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "token", data: BytesLike): Result;
|
|
21
|
+
events: {
|
|
22
|
+
"Claimed(address,uint256)": EventFragment;
|
|
23
|
+
"RootUpdated(bytes32,bytes32)": EventFragment;
|
|
24
|
+
"TokenAllocated(address,uint8,uint256)": EventFragment;
|
|
25
|
+
};
|
|
26
|
+
getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment;
|
|
27
|
+
getEvent(nameOrSignatureOrTopic: "RootUpdated"): EventFragment;
|
|
28
|
+
getEvent(nameOrSignatureOrTopic: "TokenAllocated"): EventFragment;
|
|
29
|
+
}
|
|
30
|
+
export interface ClaimedEventObject {
|
|
31
|
+
account: string;
|
|
32
|
+
amount: BigNumber;
|
|
33
|
+
}
|
|
34
|
+
export declare type ClaimedEvent = TypedEvent<[string, BigNumber], ClaimedEventObject>;
|
|
35
|
+
export declare type ClaimedEventFilter = TypedEventFilter<ClaimedEvent>;
|
|
36
|
+
export interface RootUpdatedEventObject {
|
|
37
|
+
oldRoot: string;
|
|
38
|
+
newRoot: string;
|
|
39
|
+
}
|
|
40
|
+
export declare type RootUpdatedEvent = TypedEvent<[
|
|
41
|
+
string,
|
|
42
|
+
string
|
|
43
|
+
], RootUpdatedEventObject>;
|
|
44
|
+
export declare type RootUpdatedEventFilter = TypedEventFilter<RootUpdatedEvent>;
|
|
45
|
+
export interface TokenAllocatedEventObject {
|
|
46
|
+
account: string;
|
|
47
|
+
campaignId: number;
|
|
48
|
+
amount: BigNumber;
|
|
49
|
+
}
|
|
50
|
+
export declare type TokenAllocatedEvent = TypedEvent<[
|
|
51
|
+
string,
|
|
52
|
+
number,
|
|
53
|
+
BigNumber
|
|
54
|
+
], TokenAllocatedEventObject>;
|
|
55
|
+
export declare type TokenAllocatedEventFilter = TypedEventFilter<TokenAllocatedEvent>;
|
|
56
|
+
export interface IAirdropDistributor extends BaseContract {
|
|
57
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
58
|
+
attach(addressOrName: string): this;
|
|
59
|
+
deployed(): Promise<this>;
|
|
60
|
+
interface: IAirdropDistributorInterface;
|
|
61
|
+
queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
|
|
62
|
+
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
|
|
63
|
+
listeners(eventName?: string): Array<Listener>;
|
|
64
|
+
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
|
|
65
|
+
removeAllListeners(eventName?: string): this;
|
|
66
|
+
off: OnEvent<this>;
|
|
67
|
+
on: OnEvent<this>;
|
|
68
|
+
once: OnEvent<this>;
|
|
69
|
+
removeListener: OnEvent<this>;
|
|
70
|
+
functions: {
|
|
71
|
+
claim(index: BigNumberish, account: string, totalAmount: BigNumberish, claimedAmount: BigNumberish, merkleProof: BytesLike[], overrides?: Overrides & {
|
|
72
|
+
from?: string | Promise<string>;
|
|
73
|
+
}): Promise<ContractTransaction>;
|
|
74
|
+
claimed(user: string, overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
75
|
+
merkleRoot(overrides?: CallOverrides): Promise<[string]>;
|
|
76
|
+
token(overrides?: CallOverrides): Promise<[string]>;
|
|
77
|
+
};
|
|
78
|
+
claim(index: BigNumberish, account: string, totalAmount: BigNumberish, claimedAmount: BigNumberish, merkleProof: BytesLike[], overrides?: Overrides & {
|
|
79
|
+
from?: string | Promise<string>;
|
|
80
|
+
}): Promise<ContractTransaction>;
|
|
81
|
+
claimed(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
82
|
+
merkleRoot(overrides?: CallOverrides): Promise<string>;
|
|
83
|
+
token(overrides?: CallOverrides): Promise<string>;
|
|
84
|
+
callStatic: {
|
|
85
|
+
claim(index: BigNumberish, account: string, totalAmount: BigNumberish, claimedAmount: BigNumberish, merkleProof: BytesLike[], overrides?: CallOverrides): Promise<void>;
|
|
86
|
+
claimed(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
87
|
+
merkleRoot(overrides?: CallOverrides): Promise<string>;
|
|
88
|
+
token(overrides?: CallOverrides): Promise<string>;
|
|
89
|
+
};
|
|
90
|
+
filters: {
|
|
91
|
+
"Claimed(address,uint256)"(account?: string | null, amount?: BigNumberish | null): ClaimedEventFilter;
|
|
92
|
+
Claimed(account?: string | null, amount?: BigNumberish | null): ClaimedEventFilter;
|
|
93
|
+
"RootUpdated(bytes32,bytes32)"(oldRoot?: null, newRoot?: BytesLike | null): RootUpdatedEventFilter;
|
|
94
|
+
RootUpdated(oldRoot?: null, newRoot?: BytesLike | null): RootUpdatedEventFilter;
|
|
95
|
+
"TokenAllocated(address,uint8,uint256)"(account?: string | null, campaignId?: BigNumberish | null, amount?: null): TokenAllocatedEventFilter;
|
|
96
|
+
TokenAllocated(account?: string | null, campaignId?: BigNumberish | null, amount?: null): TokenAllocatedEventFilter;
|
|
97
|
+
};
|
|
98
|
+
estimateGas: {
|
|
99
|
+
claim(index: BigNumberish, account: string, totalAmount: BigNumberish, claimedAmount: BigNumberish, merkleProof: BytesLike[], overrides?: Overrides & {
|
|
100
|
+
from?: string | Promise<string>;
|
|
101
|
+
}): Promise<BigNumber>;
|
|
102
|
+
claimed(user: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
103
|
+
merkleRoot(overrides?: CallOverrides): Promise<BigNumber>;
|
|
104
|
+
token(overrides?: CallOverrides): Promise<BigNumber>;
|
|
105
|
+
};
|
|
106
|
+
populateTransaction: {
|
|
107
|
+
claim(index: BigNumberish, account: string, totalAmount: BigNumberish, claimedAmount: BigNumberish, merkleProof: BytesLike[], overrides?: Overrides & {
|
|
108
|
+
from?: string | Promise<string>;
|
|
109
|
+
}): Promise<PopulatedTransaction>;
|
|
110
|
+
claimed(user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
111
|
+
merkleRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
112
|
+
token(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { BaseContract, BigNumber, BigNumberish, BytesLike, Signer, utils } from "ethers";
|
|
2
|
+
import type { EventFragment } from "@ethersproject/abi";
|
|
3
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../../../common";
|
|
5
|
+
export interface IAirdropDistributorEventsInterface extends utils.Interface {
|
|
6
|
+
functions: {};
|
|
7
|
+
events: {
|
|
8
|
+
"Claimed(address,uint256)": EventFragment;
|
|
9
|
+
"RootUpdated(bytes32,bytes32)": EventFragment;
|
|
10
|
+
"TokenAllocated(address,uint8,uint256)": EventFragment;
|
|
11
|
+
};
|
|
12
|
+
getEvent(nameOrSignatureOrTopic: "Claimed"): EventFragment;
|
|
13
|
+
getEvent(nameOrSignatureOrTopic: "RootUpdated"): EventFragment;
|
|
14
|
+
getEvent(nameOrSignatureOrTopic: "TokenAllocated"): EventFragment;
|
|
15
|
+
}
|
|
16
|
+
export interface ClaimedEventObject {
|
|
17
|
+
account: string;
|
|
18
|
+
amount: BigNumber;
|
|
19
|
+
}
|
|
20
|
+
export declare type ClaimedEvent = TypedEvent<[string, BigNumber], ClaimedEventObject>;
|
|
21
|
+
export declare type ClaimedEventFilter = TypedEventFilter<ClaimedEvent>;
|
|
22
|
+
export interface RootUpdatedEventObject {
|
|
23
|
+
oldRoot: string;
|
|
24
|
+
newRoot: string;
|
|
25
|
+
}
|
|
26
|
+
export declare type RootUpdatedEvent = TypedEvent<[
|
|
27
|
+
string,
|
|
28
|
+
string
|
|
29
|
+
], RootUpdatedEventObject>;
|
|
30
|
+
export declare type RootUpdatedEventFilter = TypedEventFilter<RootUpdatedEvent>;
|
|
31
|
+
export interface TokenAllocatedEventObject {
|
|
32
|
+
account: string;
|
|
33
|
+
campaignId: number;
|
|
34
|
+
amount: BigNumber;
|
|
35
|
+
}
|
|
36
|
+
export declare type TokenAllocatedEvent = TypedEvent<[
|
|
37
|
+
string,
|
|
38
|
+
number,
|
|
39
|
+
BigNumber
|
|
40
|
+
], TokenAllocatedEventObject>;
|
|
41
|
+
export declare type TokenAllocatedEventFilter = TypedEventFilter<TokenAllocatedEvent>;
|
|
42
|
+
export interface IAirdropDistributorEvents extends BaseContract {
|
|
43
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
44
|
+
attach(addressOrName: string): this;
|
|
45
|
+
deployed(): Promise<this>;
|
|
46
|
+
interface: IAirdropDistributorEventsInterface;
|
|
47
|
+
queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
|
|
48
|
+
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
|
|
49
|
+
listeners(eventName?: string): Array<Listener>;
|
|
50
|
+
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
|
|
51
|
+
removeAllListeners(eventName?: string): this;
|
|
52
|
+
off: OnEvent<this>;
|
|
53
|
+
on: OnEvent<this>;
|
|
54
|
+
once: OnEvent<this>;
|
|
55
|
+
removeListener: OnEvent<this>;
|
|
56
|
+
functions: {};
|
|
57
|
+
callStatic: {};
|
|
58
|
+
filters: {
|
|
59
|
+
"Claimed(address,uint256)"(account?: string | null, amount?: BigNumberish | null): ClaimedEventFilter;
|
|
60
|
+
Claimed(account?: string | null, amount?: BigNumberish | null): ClaimedEventFilter;
|
|
61
|
+
"RootUpdated(bytes32,bytes32)"(oldRoot?: null, newRoot?: BytesLike | null): RootUpdatedEventFilter;
|
|
62
|
+
RootUpdated(oldRoot?: null, newRoot?: BytesLike | null): RootUpdatedEventFilter;
|
|
63
|
+
"TokenAllocated(address,uint8,uint256)"(account?: string | null, campaignId?: BigNumberish | null, amount?: null): TokenAllocatedEventFilter;
|
|
64
|
+
TokenAllocated(account?: string | null, campaignId?: BigNumberish | null, amount?: null): TokenAllocatedEventFilter;
|
|
65
|
+
};
|
|
66
|
+
estimateGas: {};
|
|
67
|
+
populateTransaction: {};
|
|
68
|
+
}
|
package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/IDegenNFT.sol/IDegenNFT.d.ts
CHANGED
|
@@ -4,35 +4,102 @@ import type { Listener, Provider } from "@ethersproject/providers";
|
|
|
4
4
|
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../../../common";
|
|
5
5
|
export interface IDegenNFTInterface extends utils.Interface {
|
|
6
6
|
functions: {
|
|
7
|
+
"approve(address,uint256)": FunctionFragment;
|
|
8
|
+
"balanceOf(address)": FunctionFragment;
|
|
7
9
|
"baseURI()": FunctionFragment;
|
|
8
10
|
"burn(address,uint256)": FunctionFragment;
|
|
11
|
+
"getApproved(uint256)": FunctionFragment;
|
|
12
|
+
"isApprovedForAll(address,address)": FunctionFragment;
|
|
9
13
|
"mint(address,uint256)": FunctionFragment;
|
|
10
14
|
"minter()": FunctionFragment;
|
|
15
|
+
"name()": FunctionFragment;
|
|
16
|
+
"ownerOf(uint256)": FunctionFragment;
|
|
17
|
+
"safeTransferFrom(address,address,uint256)": FunctionFragment;
|
|
18
|
+
"safeTransferFrom(address,address,uint256,bytes)": FunctionFragment;
|
|
19
|
+
"setApprovalForAll(address,bool)": FunctionFragment;
|
|
20
|
+
"supportsInterface(bytes4)": FunctionFragment;
|
|
21
|
+
"symbol()": FunctionFragment;
|
|
22
|
+
"tokenURI(uint256)": FunctionFragment;
|
|
11
23
|
"totalSupply()": FunctionFragment;
|
|
24
|
+
"transferFrom(address,address,uint256)": FunctionFragment;
|
|
12
25
|
"version()": FunctionFragment;
|
|
13
26
|
};
|
|
14
|
-
getFunction(nameOrSignatureOrTopic: "baseURI" | "burn" | "mint" | "minter" | "totalSupply" | "version"): FunctionFragment;
|
|
27
|
+
getFunction(nameOrSignatureOrTopic: "approve" | "balanceOf" | "baseURI" | "burn" | "getApproved" | "isApprovedForAll" | "mint" | "minter" | "name" | "ownerOf" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "supportsInterface" | "symbol" | "tokenURI" | "totalSupply" | "transferFrom" | "version"): FunctionFragment;
|
|
28
|
+
encodeFunctionData(functionFragment: "approve", values: [string, BigNumberish]): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
|
|
15
30
|
encodeFunctionData(functionFragment: "baseURI", values?: undefined): string;
|
|
16
31
|
encodeFunctionData(functionFragment: "burn", values: [string, BigNumberish]): string;
|
|
32
|
+
encodeFunctionData(functionFragment: "getApproved", values: [BigNumberish]): string;
|
|
33
|
+
encodeFunctionData(functionFragment: "isApprovedForAll", values: [string, string]): string;
|
|
17
34
|
encodeFunctionData(functionFragment: "mint", values: [string, BigNumberish]): string;
|
|
18
35
|
encodeFunctionData(functionFragment: "minter", values?: undefined): string;
|
|
36
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
37
|
+
encodeFunctionData(functionFragment: "ownerOf", values: [BigNumberish]): string;
|
|
38
|
+
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [string, string, BigNumberish]): string;
|
|
39
|
+
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [string, string, BigNumberish, BytesLike]): string;
|
|
40
|
+
encodeFunctionData(functionFragment: "setApprovalForAll", values: [string, boolean]): string;
|
|
41
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
42
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
43
|
+
encodeFunctionData(functionFragment: "tokenURI", values: [BigNumberish]): string;
|
|
19
44
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [string, string, BigNumberish]): string;
|
|
20
46
|
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
|
47
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
48
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
21
49
|
decodeFunctionResult(functionFragment: "baseURI", data: BytesLike): Result;
|
|
22
50
|
decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
|
|
51
|
+
decodeFunctionResult(functionFragment: "getApproved", data: BytesLike): Result;
|
|
52
|
+
decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result;
|
|
23
53
|
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
24
54
|
decodeFunctionResult(functionFragment: "minter", data: BytesLike): Result;
|
|
55
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
56
|
+
decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result;
|
|
57
|
+
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result;
|
|
58
|
+
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result;
|
|
59
|
+
decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
|
|
60
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
61
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
62
|
+
decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result;
|
|
25
63
|
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
64
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
26
65
|
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
|
27
66
|
events: {
|
|
67
|
+
"Approval(address,address,uint256)": EventFragment;
|
|
68
|
+
"ApprovalForAll(address,address,bool)": EventFragment;
|
|
28
69
|
"NewCreditFacadeAdded(address)": EventFragment;
|
|
29
70
|
"NewCreditFacadeRemoved(address)": EventFragment;
|
|
30
71
|
"NewMinterSet(address)": EventFragment;
|
|
72
|
+
"Transfer(address,address,uint256)": EventFragment;
|
|
31
73
|
};
|
|
74
|
+
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
|
75
|
+
getEvent(nameOrSignatureOrTopic: "ApprovalForAll"): EventFragment;
|
|
32
76
|
getEvent(nameOrSignatureOrTopic: "NewCreditFacadeAdded"): EventFragment;
|
|
33
77
|
getEvent(nameOrSignatureOrTopic: "NewCreditFacadeRemoved"): EventFragment;
|
|
34
78
|
getEvent(nameOrSignatureOrTopic: "NewMinterSet"): EventFragment;
|
|
79
|
+
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
|
35
80
|
}
|
|
81
|
+
export interface ApprovalEventObject {
|
|
82
|
+
owner: string;
|
|
83
|
+
approved: string;
|
|
84
|
+
tokenId: BigNumber;
|
|
85
|
+
}
|
|
86
|
+
export declare type ApprovalEvent = TypedEvent<[
|
|
87
|
+
string,
|
|
88
|
+
string,
|
|
89
|
+
BigNumber
|
|
90
|
+
], ApprovalEventObject>;
|
|
91
|
+
export declare type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
92
|
+
export interface ApprovalForAllEventObject {
|
|
93
|
+
owner: string;
|
|
94
|
+
operator: string;
|
|
95
|
+
approved: boolean;
|
|
96
|
+
}
|
|
97
|
+
export declare type ApprovalForAllEvent = TypedEvent<[
|
|
98
|
+
string,
|
|
99
|
+
string,
|
|
100
|
+
boolean
|
|
101
|
+
], ApprovalForAllEventObject>;
|
|
102
|
+
export declare type ApprovalForAllEventFilter = TypedEventFilter<ApprovalForAllEvent>;
|
|
36
103
|
export interface NewCreditFacadeAddedEventObject {
|
|
37
104
|
arg0: string;
|
|
38
105
|
}
|
|
@@ -52,6 +119,17 @@ export interface NewMinterSetEventObject {
|
|
|
52
119
|
}
|
|
53
120
|
export declare type NewMinterSetEvent = TypedEvent<[string], NewMinterSetEventObject>;
|
|
54
121
|
export declare type NewMinterSetEventFilter = TypedEventFilter<NewMinterSetEvent>;
|
|
122
|
+
export interface TransferEventObject {
|
|
123
|
+
from: string;
|
|
124
|
+
to: string;
|
|
125
|
+
tokenId: BigNumber;
|
|
126
|
+
}
|
|
127
|
+
export declare type TransferEvent = TypedEvent<[
|
|
128
|
+
string,
|
|
129
|
+
string,
|
|
130
|
+
BigNumber
|
|
131
|
+
], TransferEventObject>;
|
|
132
|
+
export declare type TransferEventFilter = TypedEventFilter<TransferEvent>;
|
|
55
133
|
export interface IDegenNFT extends BaseContract {
|
|
56
134
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
57
135
|
attach(addressOrName: string): this;
|
|
@@ -67,65 +145,182 @@ export interface IDegenNFT extends BaseContract {
|
|
|
67
145
|
once: OnEvent<this>;
|
|
68
146
|
removeListener: OnEvent<this>;
|
|
69
147
|
functions: {
|
|
148
|
+
approve(to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
149
|
+
from?: string | Promise<string>;
|
|
150
|
+
}): Promise<ContractTransaction>;
|
|
151
|
+
balanceOf(owner: string, overrides?: CallOverrides): Promise<[BigNumber] & {
|
|
152
|
+
balance: BigNumber;
|
|
153
|
+
}>;
|
|
70
154
|
baseURI(overrides?: CallOverrides): Promise<[string]>;
|
|
71
155
|
burn(from: string, amount: BigNumberish, overrides?: Overrides & {
|
|
72
156
|
from?: string | Promise<string>;
|
|
73
157
|
}): Promise<ContractTransaction>;
|
|
158
|
+
getApproved(tokenId: BigNumberish, overrides?: CallOverrides): Promise<[string] & {
|
|
159
|
+
operator: string;
|
|
160
|
+
}>;
|
|
161
|
+
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides): Promise<[boolean]>;
|
|
74
162
|
mint(to: string, amount: BigNumberish, overrides?: Overrides & {
|
|
75
163
|
from?: string | Promise<string>;
|
|
76
164
|
}): Promise<ContractTransaction>;
|
|
77
165
|
minter(overrides?: CallOverrides): Promise<[string]>;
|
|
166
|
+
name(overrides?: CallOverrides): Promise<[string]>;
|
|
167
|
+
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides): Promise<[string] & {
|
|
168
|
+
owner: string;
|
|
169
|
+
}>;
|
|
170
|
+
"safeTransferFrom(address,address,uint256)"(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
171
|
+
from?: string | Promise<string>;
|
|
172
|
+
}): Promise<ContractTransaction>;
|
|
173
|
+
"safeTransferFrom(address,address,uint256,bytes)"(from: string, to: string, tokenId: BigNumberish, data: BytesLike, overrides?: Overrides & {
|
|
174
|
+
from?: string | Promise<string>;
|
|
175
|
+
}): Promise<ContractTransaction>;
|
|
176
|
+
setApprovalForAll(operator: string, _approved: boolean, overrides?: Overrides & {
|
|
177
|
+
from?: string | Promise<string>;
|
|
178
|
+
}): Promise<ContractTransaction>;
|
|
179
|
+
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
|
|
180
|
+
symbol(overrides?: CallOverrides): Promise<[string]>;
|
|
181
|
+
tokenURI(tokenId: BigNumberish, overrides?: CallOverrides): Promise<[string]>;
|
|
78
182
|
totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
183
|
+
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
184
|
+
from?: string | Promise<string>;
|
|
185
|
+
}): Promise<ContractTransaction>;
|
|
79
186
|
version(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
80
187
|
};
|
|
188
|
+
approve(to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
189
|
+
from?: string | Promise<string>;
|
|
190
|
+
}): Promise<ContractTransaction>;
|
|
191
|
+
balanceOf(owner: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
81
192
|
baseURI(overrides?: CallOverrides): Promise<string>;
|
|
82
193
|
burn(from: string, amount: BigNumberish, overrides?: Overrides & {
|
|
83
194
|
from?: string | Promise<string>;
|
|
84
195
|
}): Promise<ContractTransaction>;
|
|
196
|
+
getApproved(tokenId: BigNumberish, overrides?: CallOverrides): Promise<string>;
|
|
197
|
+
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides): Promise<boolean>;
|
|
85
198
|
mint(to: string, amount: BigNumberish, overrides?: Overrides & {
|
|
86
199
|
from?: string | Promise<string>;
|
|
87
200
|
}): Promise<ContractTransaction>;
|
|
88
201
|
minter(overrides?: CallOverrides): Promise<string>;
|
|
202
|
+
name(overrides?: CallOverrides): Promise<string>;
|
|
203
|
+
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides): Promise<string>;
|
|
204
|
+
"safeTransferFrom(address,address,uint256)"(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
205
|
+
from?: string | Promise<string>;
|
|
206
|
+
}): Promise<ContractTransaction>;
|
|
207
|
+
"safeTransferFrom(address,address,uint256,bytes)"(from: string, to: string, tokenId: BigNumberish, data: BytesLike, overrides?: Overrides & {
|
|
208
|
+
from?: string | Promise<string>;
|
|
209
|
+
}): Promise<ContractTransaction>;
|
|
210
|
+
setApprovalForAll(operator: string, _approved: boolean, overrides?: Overrides & {
|
|
211
|
+
from?: string | Promise<string>;
|
|
212
|
+
}): Promise<ContractTransaction>;
|
|
213
|
+
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>;
|
|
214
|
+
symbol(overrides?: CallOverrides): Promise<string>;
|
|
215
|
+
tokenURI(tokenId: BigNumberish, overrides?: CallOverrides): Promise<string>;
|
|
89
216
|
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
217
|
+
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
218
|
+
from?: string | Promise<string>;
|
|
219
|
+
}): Promise<ContractTransaction>;
|
|
90
220
|
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
91
221
|
callStatic: {
|
|
222
|
+
approve(to: string, tokenId: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
223
|
+
balanceOf(owner: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
92
224
|
baseURI(overrides?: CallOverrides): Promise<string>;
|
|
93
225
|
burn(from: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
226
|
+
getApproved(tokenId: BigNumberish, overrides?: CallOverrides): Promise<string>;
|
|
227
|
+
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides): Promise<boolean>;
|
|
94
228
|
mint(to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
95
229
|
minter(overrides?: CallOverrides): Promise<string>;
|
|
230
|
+
name(overrides?: CallOverrides): Promise<string>;
|
|
231
|
+
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides): Promise<string>;
|
|
232
|
+
"safeTransferFrom(address,address,uint256)"(from: string, to: string, tokenId: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
233
|
+
"safeTransferFrom(address,address,uint256,bytes)"(from: string, to: string, tokenId: BigNumberish, data: BytesLike, overrides?: CallOverrides): Promise<void>;
|
|
234
|
+
setApprovalForAll(operator: string, _approved: boolean, overrides?: CallOverrides): Promise<void>;
|
|
235
|
+
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>;
|
|
236
|
+
symbol(overrides?: CallOverrides): Promise<string>;
|
|
237
|
+
tokenURI(tokenId: BigNumberish, overrides?: CallOverrides): Promise<string>;
|
|
96
238
|
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
239
|
+
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: CallOverrides): Promise<void>;
|
|
97
240
|
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
98
241
|
};
|
|
99
242
|
filters: {
|
|
243
|
+
"Approval(address,address,uint256)"(owner?: string | null, approved?: string | null, tokenId?: BigNumberish | null): ApprovalEventFilter;
|
|
244
|
+
Approval(owner?: string | null, approved?: string | null, tokenId?: BigNumberish | null): ApprovalEventFilter;
|
|
245
|
+
"ApprovalForAll(address,address,bool)"(owner?: string | null, operator?: string | null, approved?: null): ApprovalForAllEventFilter;
|
|
246
|
+
ApprovalForAll(owner?: string | null, operator?: string | null, approved?: null): ApprovalForAllEventFilter;
|
|
100
247
|
"NewCreditFacadeAdded(address)"(arg0?: string | null): NewCreditFacadeAddedEventFilter;
|
|
101
248
|
NewCreditFacadeAdded(arg0?: string | null): NewCreditFacadeAddedEventFilter;
|
|
102
249
|
"NewCreditFacadeRemoved(address)"(arg0?: string | null): NewCreditFacadeRemovedEventFilter;
|
|
103
250
|
NewCreditFacadeRemoved(arg0?: string | null): NewCreditFacadeRemovedEventFilter;
|
|
104
251
|
"NewMinterSet(address)"(arg0?: string | null): NewMinterSetEventFilter;
|
|
105
252
|
NewMinterSet(arg0?: string | null): NewMinterSetEventFilter;
|
|
253
|
+
"Transfer(address,address,uint256)"(from?: string | null, to?: string | null, tokenId?: BigNumberish | null): TransferEventFilter;
|
|
254
|
+
Transfer(from?: string | null, to?: string | null, tokenId?: BigNumberish | null): TransferEventFilter;
|
|
106
255
|
};
|
|
107
256
|
estimateGas: {
|
|
257
|
+
approve(to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
258
|
+
from?: string | Promise<string>;
|
|
259
|
+
}): Promise<BigNumber>;
|
|
260
|
+
balanceOf(owner: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
108
261
|
baseURI(overrides?: CallOverrides): Promise<BigNumber>;
|
|
109
262
|
burn(from: string, amount: BigNumberish, overrides?: Overrides & {
|
|
110
263
|
from?: string | Promise<string>;
|
|
111
264
|
}): Promise<BigNumber>;
|
|
265
|
+
getApproved(tokenId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
|
|
266
|
+
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
112
267
|
mint(to: string, amount: BigNumberish, overrides?: Overrides & {
|
|
113
268
|
from?: string | Promise<string>;
|
|
114
269
|
}): Promise<BigNumber>;
|
|
115
270
|
minter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
271
|
+
name(overrides?: CallOverrides): Promise<BigNumber>;
|
|
272
|
+
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
|
|
273
|
+
"safeTransferFrom(address,address,uint256)"(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
274
|
+
from?: string | Promise<string>;
|
|
275
|
+
}): Promise<BigNumber>;
|
|
276
|
+
"safeTransferFrom(address,address,uint256,bytes)"(from: string, to: string, tokenId: BigNumberish, data: BytesLike, overrides?: Overrides & {
|
|
277
|
+
from?: string | Promise<string>;
|
|
278
|
+
}): Promise<BigNumber>;
|
|
279
|
+
setApprovalForAll(operator: string, _approved: boolean, overrides?: Overrides & {
|
|
280
|
+
from?: string | Promise<string>;
|
|
281
|
+
}): Promise<BigNumber>;
|
|
282
|
+
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
|
|
283
|
+
symbol(overrides?: CallOverrides): Promise<BigNumber>;
|
|
284
|
+
tokenURI(tokenId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
|
|
116
285
|
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
286
|
+
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
287
|
+
from?: string | Promise<string>;
|
|
288
|
+
}): Promise<BigNumber>;
|
|
117
289
|
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
118
290
|
};
|
|
119
291
|
populateTransaction: {
|
|
292
|
+
approve(to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
293
|
+
from?: string | Promise<string>;
|
|
294
|
+
}): Promise<PopulatedTransaction>;
|
|
295
|
+
balanceOf(owner: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
120
296
|
baseURI(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
121
297
|
burn(from: string, amount: BigNumberish, overrides?: Overrides & {
|
|
122
298
|
from?: string | Promise<string>;
|
|
123
299
|
}): Promise<PopulatedTransaction>;
|
|
300
|
+
getApproved(tokenId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
301
|
+
isApprovedForAll(owner: string, operator: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
124
302
|
mint(to: string, amount: BigNumberish, overrides?: Overrides & {
|
|
125
303
|
from?: string | Promise<string>;
|
|
126
304
|
}): Promise<PopulatedTransaction>;
|
|
127
305
|
minter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
306
|
+
name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
307
|
+
ownerOf(tokenId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
308
|
+
"safeTransferFrom(address,address,uint256)"(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
309
|
+
from?: string | Promise<string>;
|
|
310
|
+
}): Promise<PopulatedTransaction>;
|
|
311
|
+
"safeTransferFrom(address,address,uint256,bytes)"(from: string, to: string, tokenId: BigNumberish, data: BytesLike, overrides?: Overrides & {
|
|
312
|
+
from?: string | Promise<string>;
|
|
313
|
+
}): Promise<PopulatedTransaction>;
|
|
314
|
+
setApprovalForAll(operator: string, _approved: boolean, overrides?: Overrides & {
|
|
315
|
+
from?: string | Promise<string>;
|
|
316
|
+
}): Promise<PopulatedTransaction>;
|
|
317
|
+
supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
318
|
+
symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
319
|
+
tokenURI(tokenId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
128
320
|
totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
321
|
+
transferFrom(from: string, to: string, tokenId: BigNumberish, overrides?: Overrides & {
|
|
322
|
+
from?: string | Promise<string>;
|
|
323
|
+
}): Promise<PopulatedTransaction>;
|
|
129
324
|
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
130
325
|
};
|
|
131
326
|
}
|
|
@@ -4,6 +4,8 @@ import type * as iAccountFactorySol from "./IAccountFactory.sol";
|
|
|
4
4
|
export type { iAccountFactorySol };
|
|
5
5
|
import type * as iAddressProviderSol from "./IAddressProvider.sol";
|
|
6
6
|
export type { iAddressProviderSol };
|
|
7
|
+
import type * as iAirdropDistributorSol from "./IAirdropDistributor.sol";
|
|
8
|
+
export type { iAirdropDistributorSol };
|
|
7
9
|
import type * as iContractsRegisterSol from "./IContractsRegister.sol";
|
|
8
10
|
export type { iContractsRegisterSol };
|
|
9
11
|
import type * as iCreditAccountSol from "./ICreditAccount.sol";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { IAirdropDistributorEvents, IAirdropDistributorEventsInterface } from "../../../../../../@gearbox-protocol/core-v2/contracts/interfaces/IAirdropDistributor.sol/IAirdropDistributorEvents";
|
|
4
|
+
export declare class IAirdropDistributorEvents__factory {
|
|
5
|
+
static readonly abi: {
|
|
6
|
+
anonymous: boolean;
|
|
7
|
+
inputs: {
|
|
8
|
+
indexed: boolean;
|
|
9
|
+
internalType: string;
|
|
10
|
+
name: string;
|
|
11
|
+
type: string;
|
|
12
|
+
}[];
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
}[];
|
|
16
|
+
static createInterface(): IAirdropDistributorEventsInterface;
|
|
17
|
+
static connect(address: string, signerOrProvider: Signer | Provider): IAirdropDistributorEvents;
|
|
18
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IAirdropDistributorEvents__factory = void 0;
|
|
7
|
+
var ethers_1 = require("ethers");
|
|
8
|
+
var _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "account",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: true,
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "amount",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
name: "Claimed",
|
|
26
|
+
type: "event",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
anonymous: false,
|
|
30
|
+
inputs: [
|
|
31
|
+
{
|
|
32
|
+
indexed: false,
|
|
33
|
+
internalType: "bytes32",
|
|
34
|
+
name: "oldRoot",
|
|
35
|
+
type: "bytes32",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
indexed: true,
|
|
39
|
+
internalType: "bytes32",
|
|
40
|
+
name: "newRoot",
|
|
41
|
+
type: "bytes32",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "RootUpdated",
|
|
45
|
+
type: "event",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
anonymous: false,
|
|
49
|
+
inputs: [
|
|
50
|
+
{
|
|
51
|
+
indexed: true,
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "account",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "uint8",
|
|
59
|
+
name: "campaignId",
|
|
60
|
+
type: "uint8",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: false,
|
|
64
|
+
internalType: "uint256",
|
|
65
|
+
name: "amount",
|
|
66
|
+
type: "uint256",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "TokenAllocated",
|
|
70
|
+
type: "event",
|
|
71
|
+
},
|
|
72
|
+
];
|
|
73
|
+
var IAirdropDistributorEvents__factory = /** @class */ (function () {
|
|
74
|
+
function IAirdropDistributorEvents__factory() {
|
|
75
|
+
}
|
|
76
|
+
IAirdropDistributorEvents__factory.createInterface = function () {
|
|
77
|
+
return new ethers_1.utils.Interface(_abi);
|
|
78
|
+
};
|
|
79
|
+
IAirdropDistributorEvents__factory.connect = function (address, signerOrProvider) {
|
|
80
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
81
|
+
};
|
|
82
|
+
IAirdropDistributorEvents__factory.abi = _abi;
|
|
83
|
+
return IAirdropDistributorEvents__factory;
|
|
84
|
+
}());
|
|
85
|
+
exports.IAirdropDistributorEvents__factory = IAirdropDistributorEvents__factory;
|