@towns-protocol/generated 0.0.227 → 0.0.229
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/dev/abis/DropFacet.abi.json +11 -16
- package/dev/abis/DropFacet.abi.ts +11 -16
- package/dev/abis/IAppRegistry.abi.json +362 -0
- package/dev/abis/IAppRegistry.abi.ts +362 -0
- package/dev/abis/IAppRegistryBase.abi.json +136 -0
- package/dev/abis/IAppRegistryBase.abi.ts +136 -0
- package/dev/abis/ISwapFacet.abi.json +8 -3
- package/dev/abis/ISwapFacet.abi.ts +8 -3
- package/dev/abis/ISwapRouter.abi.json +51 -2
- package/dev/abis/ISwapRouter.abi.ts +51 -2
- package/dev/abis/ISwapRouterBase.abi.json +7 -2
- package/dev/abis/ISwapRouterBase.abi.ts +7 -2
- package/dev/abis/PlatformRequirementsFacet.abi.json +3 -3
- package/dev/abis/PlatformRequirementsFacet.abi.ts +3 -3
- package/dev/typings/DropFacet.ts +38 -36
- package/dev/typings/IAppRegistry.ts +513 -0
- package/dev/typings/IDropFacet.ts +37 -35
- package/dev/typings/ISwapFacet.ts +9 -9
- package/dev/typings/ISwapRouter.ts +78 -8
- package/dev/typings/PlatformRequirementsFacet.ts +11 -11
- package/dev/typings/factories/DropFacet__factory.ts +12 -17
- package/dev/typings/factories/IAppRegistry__factory.ts +383 -0
- package/dev/typings/factories/IDropFacet__factory.ts +10 -15
- package/dev/typings/factories/ISwapFacet__factory.ts +8 -3
- package/dev/typings/factories/ISwapRouter__factory.ts +51 -2
- package/dev/typings/factories/MembershipFacet__factory.ts +1 -1
- package/dev/typings/factories/PlatformRequirementsFacet__factory.ts +3 -3
- package/dev/typings/factories/index.ts +1 -0
- package/dev/typings/index.ts +2 -0
- package/package.json +2 -2
- package/dev/abis/Architect.json +0 -1
- package/dev/abis/Channels.json +0 -1
- package/dev/abis/Diamond.json +0 -1
- package/dev/abis/DiamondCutFacet.json +0 -1
- package/dev/abis/DropFacet.json +0 -1
- package/dev/abis/ERC721A__IERC721ReceiverUpgradeable.json +0 -1
- package/dev/abis/EntitlementsManager.json +0 -1
- package/dev/abis/IBanning.json +0 -1
- package/dev/abis/IBanningBase.json +0 -1
- package/dev/abis/ICreateSpace.json +0 -1
- package/dev/abis/ICrossChainEntitlement.json +0 -1
- package/dev/abis/IERC5267.json +0 -1
- package/dev/abis/IERC721A.json +0 -1
- package/dev/abis/IERC721ABase.json +0 -1
- package/dev/abis/IERC721AQueryable.json +0 -1
- package/dev/abis/IEntitlementChecker.json +0 -1
- package/dev/abis/IEntitlementCheckerBase.json +0 -1
- package/dev/abis/IEntitlementDataQueryable.json +0 -1
- package/dev/abis/IEntitlementDataQueryableBase.json +0 -1
- package/dev/abis/IEntitlementGated.json +0 -1
- package/dev/abis/IEntitlementGatedBase.json +0 -1
- package/dev/abis/IMembershipMetadata.json +0 -1
- package/dev/abis/IMulticall.json +0 -1
- package/dev/abis/INodeOperator.json +0 -1
- package/dev/abis/INodeOperatorBase.json +0 -1
- package/dev/abis/IPausable.json +0 -1
- package/dev/abis/IPausableBase.json +0 -1
- package/dev/abis/IPricingModules.json +0 -1
- package/dev/abis/IPricingModulesBase.json +0 -1
- package/dev/abis/IReview.json +0 -1
- package/dev/abis/IReviewBase.json +0 -1
- package/dev/abis/IRuleEntitlement.json +0 -1
- package/dev/abis/IRuleEntitlementBase.json +0 -1
- package/dev/abis/IRuleEntitlementV2.json +0 -1
- package/dev/abis/ISpaceDelegation.json +0 -1
- package/dev/abis/ISpaceDelegationBase.json +0 -1
- package/dev/abis/ISwapFacet.json +0 -1
- package/dev/abis/ISwapFacetBase.json +0 -1
- package/dev/abis/ISwapRouter.json +0 -1
- package/dev/abis/ISwapRouterBase.json +0 -1
- package/dev/abis/ITipping.json +0 -1
- package/dev/abis/ITippingBase.json +0 -1
- package/dev/abis/ITownsPoints.json +0 -1
- package/dev/abis/ITownsPointsBase.json +0 -1
- package/dev/abis/ITreasury.json +0 -1
- package/dev/abis/Member.json +0 -1
- package/dev/abis/MembershipFacet.json +0 -1
- package/dev/abis/MockCrossChainEntitlement.json +0 -1
- package/dev/abis/MockERC721A.json +0 -1
- package/dev/abis/MockEntitlementGated.json +0 -1
- package/dev/abis/MockLegacyArchitect.json +0 -1
- package/dev/abis/MockRiverRegistry.json +0 -1
- package/dev/abis/MockWalletLink.json +0 -1
- package/dev/abis/MockWalletLinkStorage.json +0 -1
- package/dev/abis/NodeRegistry.json +0 -1
- package/dev/abis/OperatorRegistry.json +0 -1
- package/dev/abis/OwnableFacet.json +0 -1
- package/dev/abis/PlatformRequirementsFacet.json +0 -1
- package/dev/abis/PrepayFacet.json +0 -1
- package/dev/abis/ProxyManager.json +0 -1
- package/dev/abis/Roles.json +0 -1
- package/dev/abis/SpaceOwner.json +0 -1
- package/dev/abis/StreamFlags.json +0 -1
- package/dev/abis/StreamRegistry.json +0 -1
- package/dev/abis/TokenPausableFacet.json +0 -1
- package/dev/abis/UserEntitlement.json +0 -1
- package/dev/abis/WalletLink.json +0 -1
|
@@ -68,10 +68,54 @@
|
|
|
68
68
|
"name": "amountOut",
|
|
69
69
|
"type": "uint256",
|
|
70
70
|
"internalType": "uint256"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "protocolFee",
|
|
74
|
+
"type": "uint256",
|
|
75
|
+
"internalType": "uint256"
|
|
71
76
|
}
|
|
72
77
|
],
|
|
73
78
|
"stateMutability": "payable"
|
|
74
79
|
},
|
|
80
|
+
{
|
|
81
|
+
"type": "function",
|
|
82
|
+
"name": "getETHInputFees",
|
|
83
|
+
"inputs": [
|
|
84
|
+
{
|
|
85
|
+
"name": "amountIn",
|
|
86
|
+
"type": "uint256",
|
|
87
|
+
"internalType": "uint256"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "caller",
|
|
91
|
+
"type": "address",
|
|
92
|
+
"internalType": "address"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "poster",
|
|
96
|
+
"type": "address",
|
|
97
|
+
"internalType": "address"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"outputs": [
|
|
101
|
+
{
|
|
102
|
+
"name": "amountInAfterFees",
|
|
103
|
+
"type": "uint256",
|
|
104
|
+
"internalType": "uint256"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "protocolFee",
|
|
108
|
+
"type": "uint256",
|
|
109
|
+
"internalType": "uint256"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "posterFee",
|
|
113
|
+
"type": "uint256",
|
|
114
|
+
"internalType": "uint256"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"stateMutability": "view"
|
|
118
|
+
},
|
|
75
119
|
{
|
|
76
120
|
"type": "event",
|
|
77
121
|
"name": "FeeDistribution",
|
|
@@ -83,7 +127,7 @@
|
|
|
83
127
|
"internalType": "address"
|
|
84
128
|
},
|
|
85
129
|
{
|
|
86
|
-
"name": "
|
|
130
|
+
"name": "protocol",
|
|
87
131
|
"type": "address",
|
|
88
132
|
"indexed": true,
|
|
89
133
|
"internalType": "address"
|
|
@@ -95,7 +139,7 @@
|
|
|
95
139
|
"internalType": "address"
|
|
96
140
|
},
|
|
97
141
|
{
|
|
98
|
-
"name": "
|
|
142
|
+
"name": "protocolAmount",
|
|
99
143
|
"type": "uint256",
|
|
100
144
|
"indexed": false,
|
|
101
145
|
"internalType": "uint256"
|
|
@@ -181,6 +225,11 @@
|
|
|
181
225
|
"name": "SwapRouter__InvalidAmount",
|
|
182
226
|
"inputs": []
|
|
183
227
|
},
|
|
228
|
+
{
|
|
229
|
+
"type": "error",
|
|
230
|
+
"name": "SwapRouter__InvalidBps",
|
|
231
|
+
"inputs": []
|
|
232
|
+
},
|
|
184
233
|
{
|
|
185
234
|
"type": "error",
|
|
186
235
|
"name": "SwapRouter__InvalidRouter",
|
|
@@ -68,10 +68,54 @@ export default [
|
|
|
68
68
|
"name": "amountOut",
|
|
69
69
|
"type": "uint256",
|
|
70
70
|
"internalType": "uint256"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "protocolFee",
|
|
74
|
+
"type": "uint256",
|
|
75
|
+
"internalType": "uint256"
|
|
71
76
|
}
|
|
72
77
|
],
|
|
73
78
|
"stateMutability": "payable"
|
|
74
79
|
},
|
|
80
|
+
{
|
|
81
|
+
"type": "function",
|
|
82
|
+
"name": "getETHInputFees",
|
|
83
|
+
"inputs": [
|
|
84
|
+
{
|
|
85
|
+
"name": "amountIn",
|
|
86
|
+
"type": "uint256",
|
|
87
|
+
"internalType": "uint256"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "caller",
|
|
91
|
+
"type": "address",
|
|
92
|
+
"internalType": "address"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "poster",
|
|
96
|
+
"type": "address",
|
|
97
|
+
"internalType": "address"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"outputs": [
|
|
101
|
+
{
|
|
102
|
+
"name": "amountInAfterFees",
|
|
103
|
+
"type": "uint256",
|
|
104
|
+
"internalType": "uint256"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "protocolFee",
|
|
108
|
+
"type": "uint256",
|
|
109
|
+
"internalType": "uint256"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "posterFee",
|
|
113
|
+
"type": "uint256",
|
|
114
|
+
"internalType": "uint256"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"stateMutability": "view"
|
|
118
|
+
},
|
|
75
119
|
{
|
|
76
120
|
"type": "event",
|
|
77
121
|
"name": "FeeDistribution",
|
|
@@ -83,7 +127,7 @@ export default [
|
|
|
83
127
|
"internalType": "address"
|
|
84
128
|
},
|
|
85
129
|
{
|
|
86
|
-
"name": "
|
|
130
|
+
"name": "protocol",
|
|
87
131
|
"type": "address",
|
|
88
132
|
"indexed": true,
|
|
89
133
|
"internalType": "address"
|
|
@@ -95,7 +139,7 @@ export default [
|
|
|
95
139
|
"internalType": "address"
|
|
96
140
|
},
|
|
97
141
|
{
|
|
98
|
-
"name": "
|
|
142
|
+
"name": "protocolAmount",
|
|
99
143
|
"type": "uint256",
|
|
100
144
|
"indexed": false,
|
|
101
145
|
"internalType": "uint256"
|
|
@@ -181,6 +225,11 @@ export default [
|
|
|
181
225
|
"name": "SwapRouter__InvalidAmount",
|
|
182
226
|
"inputs": []
|
|
183
227
|
},
|
|
228
|
+
{
|
|
229
|
+
"type": "error",
|
|
230
|
+
"name": "SwapRouter__InvalidBps",
|
|
231
|
+
"inputs": []
|
|
232
|
+
},
|
|
184
233
|
{
|
|
185
234
|
"type": "error",
|
|
186
235
|
"name": "SwapRouter__InvalidRouter",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"internalType": "address"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
"name": "
|
|
13
|
+
"name": "protocol",
|
|
14
14
|
"type": "address",
|
|
15
15
|
"indexed": true,
|
|
16
16
|
"internalType": "address"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"internalType": "address"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
"name": "
|
|
25
|
+
"name": "protocolAmount",
|
|
26
26
|
"type": "uint256",
|
|
27
27
|
"indexed": false,
|
|
28
28
|
"internalType": "uint256"
|
|
@@ -108,6 +108,11 @@
|
|
|
108
108
|
"name": "SwapRouter__InvalidAmount",
|
|
109
109
|
"inputs": []
|
|
110
110
|
},
|
|
111
|
+
{
|
|
112
|
+
"type": "error",
|
|
113
|
+
"name": "SwapRouter__InvalidBps",
|
|
114
|
+
"inputs": []
|
|
115
|
+
},
|
|
111
116
|
{
|
|
112
117
|
"type": "error",
|
|
113
118
|
"name": "SwapRouter__InvalidRouter",
|
|
@@ -10,7 +10,7 @@ export default [
|
|
|
10
10
|
"internalType": "address"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
"name": "
|
|
13
|
+
"name": "protocol",
|
|
14
14
|
"type": "address",
|
|
15
15
|
"indexed": true,
|
|
16
16
|
"internalType": "address"
|
|
@@ -22,7 +22,7 @@ export default [
|
|
|
22
22
|
"internalType": "address"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
"name": "
|
|
25
|
+
"name": "protocolAmount",
|
|
26
26
|
"type": "uint256",
|
|
27
27
|
"indexed": false,
|
|
28
28
|
"internalType": "uint256"
|
|
@@ -108,6 +108,11 @@ export default [
|
|
|
108
108
|
"name": "SwapRouter__InvalidAmount",
|
|
109
109
|
"inputs": []
|
|
110
110
|
},
|
|
111
|
+
{
|
|
112
|
+
"type": "error",
|
|
113
|
+
"name": "SwapRouter__InvalidBps",
|
|
114
|
+
"inputs": []
|
|
115
|
+
},
|
|
111
116
|
{
|
|
112
117
|
"type": "error",
|
|
113
118
|
"name": "SwapRouter__InvalidRouter",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"inputs": [],
|
|
135
135
|
"outputs": [
|
|
136
136
|
{
|
|
137
|
-
"name": "
|
|
137
|
+
"name": "protocolBps",
|
|
138
138
|
"type": "uint16",
|
|
139
139
|
"internalType": "uint16"
|
|
140
140
|
},
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
"name": "setSwapFees",
|
|
267
267
|
"inputs": [
|
|
268
268
|
{
|
|
269
|
-
"name": "
|
|
269
|
+
"name": "protocolBps",
|
|
270
270
|
"type": "uint16",
|
|
271
271
|
"internalType": "uint16"
|
|
272
272
|
},
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
"name": "PlatformSwapFeesSet",
|
|
421
421
|
"inputs": [
|
|
422
422
|
{
|
|
423
|
-
"name": "
|
|
423
|
+
"name": "protocolBps",
|
|
424
424
|
"type": "uint16",
|
|
425
425
|
"indexed": false,
|
|
426
426
|
"internalType": "uint16"
|
|
@@ -134,7 +134,7 @@ export default [
|
|
|
134
134
|
"inputs": [],
|
|
135
135
|
"outputs": [
|
|
136
136
|
{
|
|
137
|
-
"name": "
|
|
137
|
+
"name": "protocolBps",
|
|
138
138
|
"type": "uint16",
|
|
139
139
|
"internalType": "uint16"
|
|
140
140
|
},
|
|
@@ -266,7 +266,7 @@ export default [
|
|
|
266
266
|
"name": "setSwapFees",
|
|
267
267
|
"inputs": [
|
|
268
268
|
{
|
|
269
|
-
"name": "
|
|
269
|
+
"name": "protocolBps",
|
|
270
270
|
"type": "uint16",
|
|
271
271
|
"internalType": "uint16"
|
|
272
272
|
},
|
|
@@ -420,7 +420,7 @@ export default [
|
|
|
420
420
|
"name": "PlatformSwapFeesSet",
|
|
421
421
|
"inputs": [
|
|
422
422
|
{
|
|
423
|
-
"name": "
|
|
423
|
+
"name": "protocolBps",
|
|
424
424
|
"type": "uint16",
|
|
425
425
|
"indexed": false,
|
|
426
426
|
"internalType": "uint16"
|
package/dev/typings/DropFacet.ts
CHANGED
|
@@ -27,7 +27,7 @@ import type {
|
|
|
27
27
|
PromiseOrValue,
|
|
28
28
|
} from "./common";
|
|
29
29
|
|
|
30
|
-
export declare namespace
|
|
30
|
+
export declare namespace DropGroup {
|
|
31
31
|
export type ClaimConditionStruct = {
|
|
32
32
|
currency: PromiseOrValue<string>;
|
|
33
33
|
startTimestamp: PromiseOrValue<BigNumberish>;
|
|
@@ -55,7 +55,9 @@ export declare namespace DropClaimLib {
|
|
|
55
55
|
supplyClaimed: BigNumber;
|
|
56
56
|
merkleRoot: string;
|
|
57
57
|
};
|
|
58
|
+
}
|
|
58
59
|
|
|
60
|
+
export declare namespace DropClaim {
|
|
59
61
|
export type ClaimStruct = {
|
|
60
62
|
conditionId: PromiseOrValue<BigNumberish>;
|
|
61
63
|
account: PromiseOrValue<string>;
|
|
@@ -113,12 +115,12 @@ export interface DropFacetInterface extends utils.Interface {
|
|
|
113
115
|
): string;
|
|
114
116
|
encodeFunctionData(
|
|
115
117
|
functionFragment: "addClaimCondition",
|
|
116
|
-
values: [
|
|
118
|
+
values: [DropGroup.ClaimConditionStruct]
|
|
117
119
|
): string;
|
|
118
120
|
encodeFunctionData(
|
|
119
121
|
functionFragment: "claimAndStake",
|
|
120
122
|
values: [
|
|
121
|
-
|
|
123
|
+
DropClaim.ClaimStruct,
|
|
122
124
|
PromiseOrValue<string>,
|
|
123
125
|
PromiseOrValue<BigNumberish>,
|
|
124
126
|
PromiseOrValue<BytesLike>
|
|
@@ -126,7 +128,7 @@ export interface DropFacetInterface extends utils.Interface {
|
|
|
126
128
|
): string;
|
|
127
129
|
encodeFunctionData(
|
|
128
130
|
functionFragment: "claimWithPenalty",
|
|
129
|
-
values: [
|
|
131
|
+
values: [DropClaim.ClaimStruct, PromiseOrValue<BigNumberish>]
|
|
130
132
|
): string;
|
|
131
133
|
encodeFunctionData(
|
|
132
134
|
functionFragment: "getActiveClaimConditionId",
|
|
@@ -150,7 +152,7 @@ export interface DropFacetInterface extends utils.Interface {
|
|
|
150
152
|
): string;
|
|
151
153
|
encodeFunctionData(
|
|
152
154
|
functionFragment: "setClaimConditions",
|
|
153
|
-
values: [
|
|
155
|
+
values: [DropGroup.ClaimConditionStruct[]]
|
|
154
156
|
): string;
|
|
155
157
|
|
|
156
158
|
decodeFunctionResult(
|
|
@@ -225,10 +227,10 @@ export interface DropFacetInterface extends utils.Interface {
|
|
|
225
227
|
|
|
226
228
|
export interface DropFacet_ClaimConditionAddedEventObject {
|
|
227
229
|
conditionId: BigNumber;
|
|
228
|
-
condition:
|
|
230
|
+
condition: DropGroup.ClaimConditionStructOutput;
|
|
229
231
|
}
|
|
230
232
|
export type DropFacet_ClaimConditionAddedEvent = TypedEvent<
|
|
231
|
-
[BigNumber,
|
|
233
|
+
[BigNumber, DropGroup.ClaimConditionStructOutput],
|
|
232
234
|
DropFacet_ClaimConditionAddedEventObject
|
|
233
235
|
>;
|
|
234
236
|
|
|
@@ -237,10 +239,10 @@ export type DropFacet_ClaimConditionAddedEventFilter =
|
|
|
237
239
|
|
|
238
240
|
export interface DropFacet_ClaimConditionsUpdatedEventObject {
|
|
239
241
|
conditionId: BigNumber;
|
|
240
|
-
conditions:
|
|
242
|
+
conditions: DropGroup.ClaimConditionStructOutput[];
|
|
241
243
|
}
|
|
242
244
|
export type DropFacet_ClaimConditionsUpdatedEvent = TypedEvent<
|
|
243
|
-
[BigNumber,
|
|
245
|
+
[BigNumber, DropGroup.ClaimConditionStructOutput[]],
|
|
244
246
|
DropFacet_ClaimConditionsUpdatedEventObject
|
|
245
247
|
>;
|
|
246
248
|
|
|
@@ -348,12 +350,12 @@ export interface DropFacet extends BaseContract {
|
|
|
348
350
|
): Promise<ContractTransaction>;
|
|
349
351
|
|
|
350
352
|
addClaimCondition(
|
|
351
|
-
condition:
|
|
353
|
+
condition: DropGroup.ClaimConditionStruct,
|
|
352
354
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
353
355
|
): Promise<ContractTransaction>;
|
|
354
356
|
|
|
355
357
|
claimAndStake(
|
|
356
|
-
|
|
358
|
+
req: DropClaim.ClaimStruct,
|
|
357
359
|
delegatee: PromiseOrValue<string>,
|
|
358
360
|
deadline: PromiseOrValue<BigNumberish>,
|
|
359
361
|
signature: PromiseOrValue<BytesLike>,
|
|
@@ -361,7 +363,7 @@ export interface DropFacet extends BaseContract {
|
|
|
361
363
|
): Promise<ContractTransaction>;
|
|
362
364
|
|
|
363
365
|
claimWithPenalty(
|
|
364
|
-
|
|
366
|
+
req: DropClaim.ClaimStruct,
|
|
365
367
|
expectedPenaltyBps: PromiseOrValue<BigNumberish>,
|
|
366
368
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
367
369
|
): Promise<ContractTransaction>;
|
|
@@ -372,14 +374,14 @@ export interface DropFacet extends BaseContract {
|
|
|
372
374
|
conditionId: PromiseOrValue<BigNumberish>,
|
|
373
375
|
overrides?: CallOverrides
|
|
374
376
|
): Promise<
|
|
375
|
-
[
|
|
376
|
-
condition:
|
|
377
|
+
[DropGroup.ClaimConditionStructOutput] & {
|
|
378
|
+
condition: DropGroup.ClaimConditionStructOutput;
|
|
377
379
|
}
|
|
378
380
|
>;
|
|
379
381
|
|
|
380
382
|
getClaimConditions(
|
|
381
383
|
overrides?: CallOverrides
|
|
382
|
-
): Promise<[
|
|
384
|
+
): Promise<[DropGroup.ClaimConditionStructOutput[]]>;
|
|
383
385
|
|
|
384
386
|
getDepositIdByWallet(
|
|
385
387
|
account: PromiseOrValue<string>,
|
|
@@ -394,7 +396,7 @@ export interface DropFacet extends BaseContract {
|
|
|
394
396
|
): Promise<[BigNumber]>;
|
|
395
397
|
|
|
396
398
|
setClaimConditions(
|
|
397
|
-
conditions:
|
|
399
|
+
conditions: DropGroup.ClaimConditionStruct[],
|
|
398
400
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
399
401
|
): Promise<ContractTransaction>;
|
|
400
402
|
};
|
|
@@ -405,12 +407,12 @@ export interface DropFacet extends BaseContract {
|
|
|
405
407
|
): Promise<ContractTransaction>;
|
|
406
408
|
|
|
407
409
|
addClaimCondition(
|
|
408
|
-
condition:
|
|
410
|
+
condition: DropGroup.ClaimConditionStruct,
|
|
409
411
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
410
412
|
): Promise<ContractTransaction>;
|
|
411
413
|
|
|
412
414
|
claimAndStake(
|
|
413
|
-
|
|
415
|
+
req: DropClaim.ClaimStruct,
|
|
414
416
|
delegatee: PromiseOrValue<string>,
|
|
415
417
|
deadline: PromiseOrValue<BigNumberish>,
|
|
416
418
|
signature: PromiseOrValue<BytesLike>,
|
|
@@ -418,7 +420,7 @@ export interface DropFacet extends BaseContract {
|
|
|
418
420
|
): Promise<ContractTransaction>;
|
|
419
421
|
|
|
420
422
|
claimWithPenalty(
|
|
421
|
-
|
|
423
|
+
req: DropClaim.ClaimStruct,
|
|
422
424
|
expectedPenaltyBps: PromiseOrValue<BigNumberish>,
|
|
423
425
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
424
426
|
): Promise<ContractTransaction>;
|
|
@@ -428,11 +430,11 @@ export interface DropFacet extends BaseContract {
|
|
|
428
430
|
getClaimConditionById(
|
|
429
431
|
conditionId: PromiseOrValue<BigNumberish>,
|
|
430
432
|
overrides?: CallOverrides
|
|
431
|
-
): Promise<
|
|
433
|
+
): Promise<DropGroup.ClaimConditionStructOutput>;
|
|
432
434
|
|
|
433
435
|
getClaimConditions(
|
|
434
436
|
overrides?: CallOverrides
|
|
435
|
-
): Promise<
|
|
437
|
+
): Promise<DropGroup.ClaimConditionStructOutput[]>;
|
|
436
438
|
|
|
437
439
|
getDepositIdByWallet(
|
|
438
440
|
account: PromiseOrValue<string>,
|
|
@@ -447,7 +449,7 @@ export interface DropFacet extends BaseContract {
|
|
|
447
449
|
): Promise<BigNumber>;
|
|
448
450
|
|
|
449
451
|
setClaimConditions(
|
|
450
|
-
conditions:
|
|
452
|
+
conditions: DropGroup.ClaimConditionStruct[],
|
|
451
453
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
452
454
|
): Promise<ContractTransaction>;
|
|
453
455
|
|
|
@@ -458,12 +460,12 @@ export interface DropFacet extends BaseContract {
|
|
|
458
460
|
): Promise<void>;
|
|
459
461
|
|
|
460
462
|
addClaimCondition(
|
|
461
|
-
condition:
|
|
463
|
+
condition: DropGroup.ClaimConditionStruct,
|
|
462
464
|
overrides?: CallOverrides
|
|
463
465
|
): Promise<void>;
|
|
464
466
|
|
|
465
467
|
claimAndStake(
|
|
466
|
-
|
|
468
|
+
req: DropClaim.ClaimStruct,
|
|
467
469
|
delegatee: PromiseOrValue<string>,
|
|
468
470
|
deadline: PromiseOrValue<BigNumberish>,
|
|
469
471
|
signature: PromiseOrValue<BytesLike>,
|
|
@@ -471,7 +473,7 @@ export interface DropFacet extends BaseContract {
|
|
|
471
473
|
): Promise<BigNumber>;
|
|
472
474
|
|
|
473
475
|
claimWithPenalty(
|
|
474
|
-
|
|
476
|
+
req: DropClaim.ClaimStruct,
|
|
475
477
|
expectedPenaltyBps: PromiseOrValue<BigNumberish>,
|
|
476
478
|
overrides?: CallOverrides
|
|
477
479
|
): Promise<BigNumber>;
|
|
@@ -481,11 +483,11 @@ export interface DropFacet extends BaseContract {
|
|
|
481
483
|
getClaimConditionById(
|
|
482
484
|
conditionId: PromiseOrValue<BigNumberish>,
|
|
483
485
|
overrides?: CallOverrides
|
|
484
|
-
): Promise<
|
|
486
|
+
): Promise<DropGroup.ClaimConditionStructOutput>;
|
|
485
487
|
|
|
486
488
|
getClaimConditions(
|
|
487
489
|
overrides?: CallOverrides
|
|
488
|
-
): Promise<
|
|
490
|
+
): Promise<DropGroup.ClaimConditionStructOutput[]>;
|
|
489
491
|
|
|
490
492
|
getDepositIdByWallet(
|
|
491
493
|
account: PromiseOrValue<string>,
|
|
@@ -500,7 +502,7 @@ export interface DropFacet extends BaseContract {
|
|
|
500
502
|
): Promise<BigNumber>;
|
|
501
503
|
|
|
502
504
|
setClaimConditions(
|
|
503
|
-
conditions:
|
|
505
|
+
conditions: DropGroup.ClaimConditionStruct[],
|
|
504
506
|
overrides?: CallOverrides
|
|
505
507
|
): Promise<void>;
|
|
506
508
|
};
|
|
@@ -584,12 +586,12 @@ export interface DropFacet extends BaseContract {
|
|
|
584
586
|
): Promise<BigNumber>;
|
|
585
587
|
|
|
586
588
|
addClaimCondition(
|
|
587
|
-
condition:
|
|
589
|
+
condition: DropGroup.ClaimConditionStruct,
|
|
588
590
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
589
591
|
): Promise<BigNumber>;
|
|
590
592
|
|
|
591
593
|
claimAndStake(
|
|
592
|
-
|
|
594
|
+
req: DropClaim.ClaimStruct,
|
|
593
595
|
delegatee: PromiseOrValue<string>,
|
|
594
596
|
deadline: PromiseOrValue<BigNumberish>,
|
|
595
597
|
signature: PromiseOrValue<BytesLike>,
|
|
@@ -597,7 +599,7 @@ export interface DropFacet extends BaseContract {
|
|
|
597
599
|
): Promise<BigNumber>;
|
|
598
600
|
|
|
599
601
|
claimWithPenalty(
|
|
600
|
-
|
|
602
|
+
req: DropClaim.ClaimStruct,
|
|
601
603
|
expectedPenaltyBps: PromiseOrValue<BigNumberish>,
|
|
602
604
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
603
605
|
): Promise<BigNumber>;
|
|
@@ -624,7 +626,7 @@ export interface DropFacet extends BaseContract {
|
|
|
624
626
|
): Promise<BigNumber>;
|
|
625
627
|
|
|
626
628
|
setClaimConditions(
|
|
627
|
-
conditions:
|
|
629
|
+
conditions: DropGroup.ClaimConditionStruct[],
|
|
628
630
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
629
631
|
): Promise<BigNumber>;
|
|
630
632
|
};
|
|
@@ -636,12 +638,12 @@ export interface DropFacet extends BaseContract {
|
|
|
636
638
|
): Promise<PopulatedTransaction>;
|
|
637
639
|
|
|
638
640
|
addClaimCondition(
|
|
639
|
-
condition:
|
|
641
|
+
condition: DropGroup.ClaimConditionStruct,
|
|
640
642
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
641
643
|
): Promise<PopulatedTransaction>;
|
|
642
644
|
|
|
643
645
|
claimAndStake(
|
|
644
|
-
|
|
646
|
+
req: DropClaim.ClaimStruct,
|
|
645
647
|
delegatee: PromiseOrValue<string>,
|
|
646
648
|
deadline: PromiseOrValue<BigNumberish>,
|
|
647
649
|
signature: PromiseOrValue<BytesLike>,
|
|
@@ -649,7 +651,7 @@ export interface DropFacet extends BaseContract {
|
|
|
649
651
|
): Promise<PopulatedTransaction>;
|
|
650
652
|
|
|
651
653
|
claimWithPenalty(
|
|
652
|
-
|
|
654
|
+
req: DropClaim.ClaimStruct,
|
|
653
655
|
expectedPenaltyBps: PromiseOrValue<BigNumberish>,
|
|
654
656
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
655
657
|
): Promise<PopulatedTransaction>;
|
|
@@ -680,7 +682,7 @@ export interface DropFacet extends BaseContract {
|
|
|
680
682
|
): Promise<PopulatedTransaction>;
|
|
681
683
|
|
|
682
684
|
setClaimConditions(
|
|
683
|
-
conditions:
|
|
685
|
+
conditions: DropGroup.ClaimConditionStruct[],
|
|
684
686
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
685
687
|
): Promise<PopulatedTransaction>;
|
|
686
688
|
};
|