@lukso/lsp26-contracts 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -1
- package/dist/abi.cjs +252 -0
- package/dist/abi.d.cts +344 -0
- package/dist/abi.d.mts +344 -0
- package/dist/abi.d.ts +344 -0
- package/dist/abi.mjs +249 -0
- package/package.json +31 -23
- package/artifacts/ILSP26FollowerSystem.json +0 -221
- package/artifacts/LSP26FollowerSystem.json +0 -248
- package/types/index.ts +0 -588
- /package/dist/{index.cjs → constants.cjs} +0 -0
- /package/dist/{index.d.cts → constants.d.cts} +0 -0
- /package/dist/{index.d.mts → constants.d.mts} +0 -0
- /package/dist/{index.d.ts → constants.d.ts} +0 -0
- /package/dist/{index.mjs → constants.mjs} +0 -0
package/README.md
CHANGED
@@ -10,8 +10,21 @@ npm i @lukso/lsp26-contracts
|
|
10
10
|
|
11
11
|
## Available Constants & Types
|
12
12
|
|
13
|
-
The `@lukso/lsp26-contracts` npm package contains useful constants such as interface IDs, and specific constants related to the LSP26 Standard. You can import and access them as follows
|
13
|
+
The `@lukso/lsp26-contracts` npm package contains useful constants such as interface IDs, and specific constants related to the LSP26 Standard. You can import and access them as follows.
|
14
|
+
|
15
|
+
In Javascript.
|
14
16
|
|
15
17
|
```js
|
16
18
|
import { INTERFACE_ID_LSP26, LSP26_TYPE_IDS } from "@lukso/lsp26-contracts";
|
17
19
|
```
|
20
|
+
|
21
|
+
In Solidity.
|
22
|
+
|
23
|
+
<!-- prettier-ignore -->
|
24
|
+
```solidity
|
25
|
+
import {
|
26
|
+
_INTERFACEID_LSP26,
|
27
|
+
_TYPEID_LSP26_FOLLOW,
|
28
|
+
_TYPEID_LSP26_UNFOLLOW
|
29
|
+
} from "@lukso/lsp26-contracts/contracts/LSP26Constants.sol";
|
30
|
+
```
|
package/dist/abi.cjs
ADDED
@@ -0,0 +1,252 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
const ilsp26FollowerSystemAbi = [
|
4
|
+
{
|
5
|
+
type: "event",
|
6
|
+
anonymous: false,
|
7
|
+
inputs: [
|
8
|
+
{
|
9
|
+
name: "follower",
|
10
|
+
internalType: "address",
|
11
|
+
type: "address",
|
12
|
+
indexed: false
|
13
|
+
},
|
14
|
+
{
|
15
|
+
name: "addr",
|
16
|
+
internalType: "address",
|
17
|
+
type: "address",
|
18
|
+
indexed: false
|
19
|
+
}
|
20
|
+
],
|
21
|
+
name: "Follow"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
type: "event",
|
25
|
+
anonymous: false,
|
26
|
+
inputs: [
|
27
|
+
{
|
28
|
+
name: "unfollower",
|
29
|
+
internalType: "address",
|
30
|
+
type: "address",
|
31
|
+
indexed: false
|
32
|
+
},
|
33
|
+
{
|
34
|
+
name: "addr",
|
35
|
+
internalType: "address",
|
36
|
+
type: "address",
|
37
|
+
indexed: false
|
38
|
+
}
|
39
|
+
],
|
40
|
+
name: "Unfollow"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
type: "function",
|
44
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
45
|
+
name: "follow",
|
46
|
+
outputs: [],
|
47
|
+
stateMutability: "nonpayable"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
type: "function",
|
51
|
+
inputs: [
|
52
|
+
{ name: "addresses", internalType: "address[]", type: "address[]" }
|
53
|
+
],
|
54
|
+
name: "followBatch",
|
55
|
+
outputs: [],
|
56
|
+
stateMutability: "nonpayable"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
type: "function",
|
60
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
61
|
+
name: "followerCount",
|
62
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
63
|
+
stateMutability: "view"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
type: "function",
|
67
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
68
|
+
name: "followingCount",
|
69
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
70
|
+
stateMutability: "view"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
type: "function",
|
74
|
+
inputs: [
|
75
|
+
{ name: "addr", internalType: "address", type: "address" },
|
76
|
+
{ name: "startIndex", internalType: "uint256", type: "uint256" },
|
77
|
+
{ name: "endIndex", internalType: "uint256", type: "uint256" }
|
78
|
+
],
|
79
|
+
name: "getFollowersByIndex",
|
80
|
+
outputs: [{ name: "", internalType: "address[]", type: "address[]" }],
|
81
|
+
stateMutability: "view"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
type: "function",
|
85
|
+
inputs: [
|
86
|
+
{ name: "addr", internalType: "address", type: "address" },
|
87
|
+
{ name: "startIndex", internalType: "uint256", type: "uint256" },
|
88
|
+
{ name: "endIndex", internalType: "uint256", type: "uint256" }
|
89
|
+
],
|
90
|
+
name: "getFollowsByIndex",
|
91
|
+
outputs: [{ name: "", internalType: "address[]", type: "address[]" }],
|
92
|
+
stateMutability: "view"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
type: "function",
|
96
|
+
inputs: [
|
97
|
+
{ name: "follower", internalType: "address", type: "address" },
|
98
|
+
{ name: "addr", internalType: "address", type: "address" }
|
99
|
+
],
|
100
|
+
name: "isFollowing",
|
101
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
102
|
+
stateMutability: "view"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
type: "function",
|
106
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
107
|
+
name: "unfollow",
|
108
|
+
outputs: [],
|
109
|
+
stateMutability: "nonpayable"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
type: "function",
|
113
|
+
inputs: [
|
114
|
+
{ name: "addresses", internalType: "address[]", type: "address[]" }
|
115
|
+
],
|
116
|
+
name: "unfollowBatch",
|
117
|
+
outputs: [],
|
118
|
+
stateMutability: "nonpayable"
|
119
|
+
}
|
120
|
+
];
|
121
|
+
const lsp26FollowerSystemAbi = [
|
122
|
+
{
|
123
|
+
type: "error",
|
124
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
125
|
+
name: "LSP26AlreadyFollowing"
|
126
|
+
},
|
127
|
+
{ type: "error", inputs: [], name: "LSP26CannotSelfFollow" },
|
128
|
+
{
|
129
|
+
type: "error",
|
130
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
131
|
+
name: "LSP26NotFollowing"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
type: "event",
|
135
|
+
anonymous: false,
|
136
|
+
inputs: [
|
137
|
+
{
|
138
|
+
name: "follower",
|
139
|
+
internalType: "address",
|
140
|
+
type: "address",
|
141
|
+
indexed: false
|
142
|
+
},
|
143
|
+
{
|
144
|
+
name: "addr",
|
145
|
+
internalType: "address",
|
146
|
+
type: "address",
|
147
|
+
indexed: false
|
148
|
+
}
|
149
|
+
],
|
150
|
+
name: "Follow"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
type: "event",
|
154
|
+
anonymous: false,
|
155
|
+
inputs: [
|
156
|
+
{
|
157
|
+
name: "unfollower",
|
158
|
+
internalType: "address",
|
159
|
+
type: "address",
|
160
|
+
indexed: false
|
161
|
+
},
|
162
|
+
{
|
163
|
+
name: "addr",
|
164
|
+
internalType: "address",
|
165
|
+
type: "address",
|
166
|
+
indexed: false
|
167
|
+
}
|
168
|
+
],
|
169
|
+
name: "Unfollow"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
type: "function",
|
173
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
174
|
+
name: "follow",
|
175
|
+
outputs: [],
|
176
|
+
stateMutability: "nonpayable"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
type: "function",
|
180
|
+
inputs: [
|
181
|
+
{ name: "addresses", internalType: "address[]", type: "address[]" }
|
182
|
+
],
|
183
|
+
name: "followBatch",
|
184
|
+
outputs: [],
|
185
|
+
stateMutability: "nonpayable"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
type: "function",
|
189
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
190
|
+
name: "followerCount",
|
191
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
192
|
+
stateMutability: "view"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
type: "function",
|
196
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
197
|
+
name: "followingCount",
|
198
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
|
199
|
+
stateMutability: "view"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
type: "function",
|
203
|
+
inputs: [
|
204
|
+
{ name: "addr", internalType: "address", type: "address" },
|
205
|
+
{ name: "startIndex", internalType: "uint256", type: "uint256" },
|
206
|
+
{ name: "endIndex", internalType: "uint256", type: "uint256" }
|
207
|
+
],
|
208
|
+
name: "getFollowersByIndex",
|
209
|
+
outputs: [{ name: "", internalType: "address[]", type: "address[]" }],
|
210
|
+
stateMutability: "view"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
type: "function",
|
214
|
+
inputs: [
|
215
|
+
{ name: "addr", internalType: "address", type: "address" },
|
216
|
+
{ name: "startIndex", internalType: "uint256", type: "uint256" },
|
217
|
+
{ name: "endIndex", internalType: "uint256", type: "uint256" }
|
218
|
+
],
|
219
|
+
name: "getFollowsByIndex",
|
220
|
+
outputs: [{ name: "", internalType: "address[]", type: "address[]" }],
|
221
|
+
stateMutability: "view"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
type: "function",
|
225
|
+
inputs: [
|
226
|
+
{ name: "follower", internalType: "address", type: "address" },
|
227
|
+
{ name: "addr", internalType: "address", type: "address" }
|
228
|
+
],
|
229
|
+
name: "isFollowing",
|
230
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
231
|
+
stateMutability: "view"
|
232
|
+
},
|
233
|
+
{
|
234
|
+
type: "function",
|
235
|
+
inputs: [{ name: "addr", internalType: "address", type: "address" }],
|
236
|
+
name: "unfollow",
|
237
|
+
outputs: [],
|
238
|
+
stateMutability: "nonpayable"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
type: "function",
|
242
|
+
inputs: [
|
243
|
+
{ name: "addresses", internalType: "address[]", type: "address[]" }
|
244
|
+
],
|
245
|
+
name: "unfollowBatch",
|
246
|
+
outputs: [],
|
247
|
+
stateMutability: "nonpayable"
|
248
|
+
}
|
249
|
+
];
|
250
|
+
|
251
|
+
exports.ilsp26FollowerSystemAbi = ilsp26FollowerSystemAbi;
|
252
|
+
exports.lsp26FollowerSystemAbi = lsp26FollowerSystemAbi;
|
package/dist/abi.d.cts
ADDED
@@ -0,0 +1,344 @@
|
|
1
|
+
declare const ilsp26FollowerSystemAbi: readonly [{
|
2
|
+
readonly type: "event";
|
3
|
+
readonly anonymous: false;
|
4
|
+
readonly inputs: readonly [{
|
5
|
+
readonly name: "follower";
|
6
|
+
readonly internalType: "address";
|
7
|
+
readonly type: "address";
|
8
|
+
readonly indexed: false;
|
9
|
+
}, {
|
10
|
+
readonly name: "addr";
|
11
|
+
readonly internalType: "address";
|
12
|
+
readonly type: "address";
|
13
|
+
readonly indexed: false;
|
14
|
+
}];
|
15
|
+
readonly name: "Follow";
|
16
|
+
}, {
|
17
|
+
readonly type: "event";
|
18
|
+
readonly anonymous: false;
|
19
|
+
readonly inputs: readonly [{
|
20
|
+
readonly name: "unfollower";
|
21
|
+
readonly internalType: "address";
|
22
|
+
readonly type: "address";
|
23
|
+
readonly indexed: false;
|
24
|
+
}, {
|
25
|
+
readonly name: "addr";
|
26
|
+
readonly internalType: "address";
|
27
|
+
readonly type: "address";
|
28
|
+
readonly indexed: false;
|
29
|
+
}];
|
30
|
+
readonly name: "Unfollow";
|
31
|
+
}, {
|
32
|
+
readonly type: "function";
|
33
|
+
readonly inputs: readonly [{
|
34
|
+
readonly name: "addr";
|
35
|
+
readonly internalType: "address";
|
36
|
+
readonly type: "address";
|
37
|
+
}];
|
38
|
+
readonly name: "follow";
|
39
|
+
readonly outputs: readonly [];
|
40
|
+
readonly stateMutability: "nonpayable";
|
41
|
+
}, {
|
42
|
+
readonly type: "function";
|
43
|
+
readonly inputs: readonly [{
|
44
|
+
readonly name: "addresses";
|
45
|
+
readonly internalType: "address[]";
|
46
|
+
readonly type: "address[]";
|
47
|
+
}];
|
48
|
+
readonly name: "followBatch";
|
49
|
+
readonly outputs: readonly [];
|
50
|
+
readonly stateMutability: "nonpayable";
|
51
|
+
}, {
|
52
|
+
readonly type: "function";
|
53
|
+
readonly inputs: readonly [{
|
54
|
+
readonly name: "addr";
|
55
|
+
readonly internalType: "address";
|
56
|
+
readonly type: "address";
|
57
|
+
}];
|
58
|
+
readonly name: "followerCount";
|
59
|
+
readonly outputs: readonly [{
|
60
|
+
readonly name: "";
|
61
|
+
readonly internalType: "uint256";
|
62
|
+
readonly type: "uint256";
|
63
|
+
}];
|
64
|
+
readonly stateMutability: "view";
|
65
|
+
}, {
|
66
|
+
readonly type: "function";
|
67
|
+
readonly inputs: readonly [{
|
68
|
+
readonly name: "addr";
|
69
|
+
readonly internalType: "address";
|
70
|
+
readonly type: "address";
|
71
|
+
}];
|
72
|
+
readonly name: "followingCount";
|
73
|
+
readonly outputs: readonly [{
|
74
|
+
readonly name: "";
|
75
|
+
readonly internalType: "uint256";
|
76
|
+
readonly type: "uint256";
|
77
|
+
}];
|
78
|
+
readonly stateMutability: "view";
|
79
|
+
}, {
|
80
|
+
readonly type: "function";
|
81
|
+
readonly inputs: readonly [{
|
82
|
+
readonly name: "addr";
|
83
|
+
readonly internalType: "address";
|
84
|
+
readonly type: "address";
|
85
|
+
}, {
|
86
|
+
readonly name: "startIndex";
|
87
|
+
readonly internalType: "uint256";
|
88
|
+
readonly type: "uint256";
|
89
|
+
}, {
|
90
|
+
readonly name: "endIndex";
|
91
|
+
readonly internalType: "uint256";
|
92
|
+
readonly type: "uint256";
|
93
|
+
}];
|
94
|
+
readonly name: "getFollowersByIndex";
|
95
|
+
readonly outputs: readonly [{
|
96
|
+
readonly name: "";
|
97
|
+
readonly internalType: "address[]";
|
98
|
+
readonly type: "address[]";
|
99
|
+
}];
|
100
|
+
readonly stateMutability: "view";
|
101
|
+
}, {
|
102
|
+
readonly type: "function";
|
103
|
+
readonly inputs: readonly [{
|
104
|
+
readonly name: "addr";
|
105
|
+
readonly internalType: "address";
|
106
|
+
readonly type: "address";
|
107
|
+
}, {
|
108
|
+
readonly name: "startIndex";
|
109
|
+
readonly internalType: "uint256";
|
110
|
+
readonly type: "uint256";
|
111
|
+
}, {
|
112
|
+
readonly name: "endIndex";
|
113
|
+
readonly internalType: "uint256";
|
114
|
+
readonly type: "uint256";
|
115
|
+
}];
|
116
|
+
readonly name: "getFollowsByIndex";
|
117
|
+
readonly outputs: readonly [{
|
118
|
+
readonly name: "";
|
119
|
+
readonly internalType: "address[]";
|
120
|
+
readonly type: "address[]";
|
121
|
+
}];
|
122
|
+
readonly stateMutability: "view";
|
123
|
+
}, {
|
124
|
+
readonly type: "function";
|
125
|
+
readonly inputs: readonly [{
|
126
|
+
readonly name: "follower";
|
127
|
+
readonly internalType: "address";
|
128
|
+
readonly type: "address";
|
129
|
+
}, {
|
130
|
+
readonly name: "addr";
|
131
|
+
readonly internalType: "address";
|
132
|
+
readonly type: "address";
|
133
|
+
}];
|
134
|
+
readonly name: "isFollowing";
|
135
|
+
readonly outputs: readonly [{
|
136
|
+
readonly name: "";
|
137
|
+
readonly internalType: "bool";
|
138
|
+
readonly type: "bool";
|
139
|
+
}];
|
140
|
+
readonly stateMutability: "view";
|
141
|
+
}, {
|
142
|
+
readonly type: "function";
|
143
|
+
readonly inputs: readonly [{
|
144
|
+
readonly name: "addr";
|
145
|
+
readonly internalType: "address";
|
146
|
+
readonly type: "address";
|
147
|
+
}];
|
148
|
+
readonly name: "unfollow";
|
149
|
+
readonly outputs: readonly [];
|
150
|
+
readonly stateMutability: "nonpayable";
|
151
|
+
}, {
|
152
|
+
readonly type: "function";
|
153
|
+
readonly inputs: readonly [{
|
154
|
+
readonly name: "addresses";
|
155
|
+
readonly internalType: "address[]";
|
156
|
+
readonly type: "address[]";
|
157
|
+
}];
|
158
|
+
readonly name: "unfollowBatch";
|
159
|
+
readonly outputs: readonly [];
|
160
|
+
readonly stateMutability: "nonpayable";
|
161
|
+
}];
|
162
|
+
declare const lsp26FollowerSystemAbi: readonly [{
|
163
|
+
readonly type: "error";
|
164
|
+
readonly inputs: readonly [{
|
165
|
+
readonly name: "addr";
|
166
|
+
readonly internalType: "address";
|
167
|
+
readonly type: "address";
|
168
|
+
}];
|
169
|
+
readonly name: "LSP26AlreadyFollowing";
|
170
|
+
}, {
|
171
|
+
readonly type: "error";
|
172
|
+
readonly inputs: readonly [];
|
173
|
+
readonly name: "LSP26CannotSelfFollow";
|
174
|
+
}, {
|
175
|
+
readonly type: "error";
|
176
|
+
readonly inputs: readonly [{
|
177
|
+
readonly name: "addr";
|
178
|
+
readonly internalType: "address";
|
179
|
+
readonly type: "address";
|
180
|
+
}];
|
181
|
+
readonly name: "LSP26NotFollowing";
|
182
|
+
}, {
|
183
|
+
readonly type: "event";
|
184
|
+
readonly anonymous: false;
|
185
|
+
readonly inputs: readonly [{
|
186
|
+
readonly name: "follower";
|
187
|
+
readonly internalType: "address";
|
188
|
+
readonly type: "address";
|
189
|
+
readonly indexed: false;
|
190
|
+
}, {
|
191
|
+
readonly name: "addr";
|
192
|
+
readonly internalType: "address";
|
193
|
+
readonly type: "address";
|
194
|
+
readonly indexed: false;
|
195
|
+
}];
|
196
|
+
readonly name: "Follow";
|
197
|
+
}, {
|
198
|
+
readonly type: "event";
|
199
|
+
readonly anonymous: false;
|
200
|
+
readonly inputs: readonly [{
|
201
|
+
readonly name: "unfollower";
|
202
|
+
readonly internalType: "address";
|
203
|
+
readonly type: "address";
|
204
|
+
readonly indexed: false;
|
205
|
+
}, {
|
206
|
+
readonly name: "addr";
|
207
|
+
readonly internalType: "address";
|
208
|
+
readonly type: "address";
|
209
|
+
readonly indexed: false;
|
210
|
+
}];
|
211
|
+
readonly name: "Unfollow";
|
212
|
+
}, {
|
213
|
+
readonly type: "function";
|
214
|
+
readonly inputs: readonly [{
|
215
|
+
readonly name: "addr";
|
216
|
+
readonly internalType: "address";
|
217
|
+
readonly type: "address";
|
218
|
+
}];
|
219
|
+
readonly name: "follow";
|
220
|
+
readonly outputs: readonly [];
|
221
|
+
readonly stateMutability: "nonpayable";
|
222
|
+
}, {
|
223
|
+
readonly type: "function";
|
224
|
+
readonly inputs: readonly [{
|
225
|
+
readonly name: "addresses";
|
226
|
+
readonly internalType: "address[]";
|
227
|
+
readonly type: "address[]";
|
228
|
+
}];
|
229
|
+
readonly name: "followBatch";
|
230
|
+
readonly outputs: readonly [];
|
231
|
+
readonly stateMutability: "nonpayable";
|
232
|
+
}, {
|
233
|
+
readonly type: "function";
|
234
|
+
readonly inputs: readonly [{
|
235
|
+
readonly name: "addr";
|
236
|
+
readonly internalType: "address";
|
237
|
+
readonly type: "address";
|
238
|
+
}];
|
239
|
+
readonly name: "followerCount";
|
240
|
+
readonly outputs: readonly [{
|
241
|
+
readonly name: "";
|
242
|
+
readonly internalType: "uint256";
|
243
|
+
readonly type: "uint256";
|
244
|
+
}];
|
245
|
+
readonly stateMutability: "view";
|
246
|
+
}, {
|
247
|
+
readonly type: "function";
|
248
|
+
readonly inputs: readonly [{
|
249
|
+
readonly name: "addr";
|
250
|
+
readonly internalType: "address";
|
251
|
+
readonly type: "address";
|
252
|
+
}];
|
253
|
+
readonly name: "followingCount";
|
254
|
+
readonly outputs: readonly [{
|
255
|
+
readonly name: "";
|
256
|
+
readonly internalType: "uint256";
|
257
|
+
readonly type: "uint256";
|
258
|
+
}];
|
259
|
+
readonly stateMutability: "view";
|
260
|
+
}, {
|
261
|
+
readonly type: "function";
|
262
|
+
readonly inputs: readonly [{
|
263
|
+
readonly name: "addr";
|
264
|
+
readonly internalType: "address";
|
265
|
+
readonly type: "address";
|
266
|
+
}, {
|
267
|
+
readonly name: "startIndex";
|
268
|
+
readonly internalType: "uint256";
|
269
|
+
readonly type: "uint256";
|
270
|
+
}, {
|
271
|
+
readonly name: "endIndex";
|
272
|
+
readonly internalType: "uint256";
|
273
|
+
readonly type: "uint256";
|
274
|
+
}];
|
275
|
+
readonly name: "getFollowersByIndex";
|
276
|
+
readonly outputs: readonly [{
|
277
|
+
readonly name: "";
|
278
|
+
readonly internalType: "address[]";
|
279
|
+
readonly type: "address[]";
|
280
|
+
}];
|
281
|
+
readonly stateMutability: "view";
|
282
|
+
}, {
|
283
|
+
readonly type: "function";
|
284
|
+
readonly inputs: readonly [{
|
285
|
+
readonly name: "addr";
|
286
|
+
readonly internalType: "address";
|
287
|
+
readonly type: "address";
|
288
|
+
}, {
|
289
|
+
readonly name: "startIndex";
|
290
|
+
readonly internalType: "uint256";
|
291
|
+
readonly type: "uint256";
|
292
|
+
}, {
|
293
|
+
readonly name: "endIndex";
|
294
|
+
readonly internalType: "uint256";
|
295
|
+
readonly type: "uint256";
|
296
|
+
}];
|
297
|
+
readonly name: "getFollowsByIndex";
|
298
|
+
readonly outputs: readonly [{
|
299
|
+
readonly name: "";
|
300
|
+
readonly internalType: "address[]";
|
301
|
+
readonly type: "address[]";
|
302
|
+
}];
|
303
|
+
readonly stateMutability: "view";
|
304
|
+
}, {
|
305
|
+
readonly type: "function";
|
306
|
+
readonly inputs: readonly [{
|
307
|
+
readonly name: "follower";
|
308
|
+
readonly internalType: "address";
|
309
|
+
readonly type: "address";
|
310
|
+
}, {
|
311
|
+
readonly name: "addr";
|
312
|
+
readonly internalType: "address";
|
313
|
+
readonly type: "address";
|
314
|
+
}];
|
315
|
+
readonly name: "isFollowing";
|
316
|
+
readonly outputs: readonly [{
|
317
|
+
readonly name: "";
|
318
|
+
readonly internalType: "bool";
|
319
|
+
readonly type: "bool";
|
320
|
+
}];
|
321
|
+
readonly stateMutability: "view";
|
322
|
+
}, {
|
323
|
+
readonly type: "function";
|
324
|
+
readonly inputs: readonly [{
|
325
|
+
readonly name: "addr";
|
326
|
+
readonly internalType: "address";
|
327
|
+
readonly type: "address";
|
328
|
+
}];
|
329
|
+
readonly name: "unfollow";
|
330
|
+
readonly outputs: readonly [];
|
331
|
+
readonly stateMutability: "nonpayable";
|
332
|
+
}, {
|
333
|
+
readonly type: "function";
|
334
|
+
readonly inputs: readonly [{
|
335
|
+
readonly name: "addresses";
|
336
|
+
readonly internalType: "address[]";
|
337
|
+
readonly type: "address[]";
|
338
|
+
}];
|
339
|
+
readonly name: "unfollowBatch";
|
340
|
+
readonly outputs: readonly [];
|
341
|
+
readonly stateMutability: "nonpayable";
|
342
|
+
}];
|
343
|
+
|
344
|
+
export { ilsp26FollowerSystemAbi, lsp26FollowerSystemAbi };
|