@wagmi/core 3.0.2 → 3.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/esm/exports/internal.js.map +1 -1
- package/dist/esm/exports/query.js +1 -1
- package/dist/esm/exports/query.js.map +1 -1
- package/dist/esm/exports/tempo.js +9 -0
- package/dist/esm/exports/tempo.js.map +1 -0
- package/dist/esm/tempo/Connectors.js +534 -0
- package/dist/esm/tempo/Connectors.js.map +1 -0
- package/dist/esm/tempo/KeyManager.js +106 -0
- package/dist/esm/tempo/KeyManager.js.map +1 -0
- package/dist/esm/tempo/actions/amm.js +437 -0
- package/dist/esm/tempo/actions/amm.js.map +1 -0
- package/dist/esm/tempo/actions/dex.js +1059 -0
- package/dist/esm/tempo/actions/dex.js.map +1 -0
- package/dist/esm/tempo/actions/faucet.js +64 -0
- package/dist/esm/tempo/actions/faucet.js.map +1 -0
- package/dist/esm/tempo/actions/fee.js +160 -0
- package/dist/esm/tempo/actions/fee.js.map +1 -0
- package/dist/esm/tempo/actions/index.js +11 -0
- package/dist/esm/tempo/actions/index.js.map +1 -0
- package/dist/esm/tempo/actions/nonce.js +91 -0
- package/dist/esm/tempo/actions/nonce.js.map +1 -0
- package/dist/esm/tempo/actions/policy.js +532 -0
- package/dist/esm/tempo/actions/policy.js.map +1 -0
- package/dist/esm/tempo/actions/reward.js +384 -0
- package/dist/esm/tempo/actions/reward.js.map +1 -0
- package/dist/esm/tempo/actions/token.js +1717 -0
- package/dist/esm/tempo/actions/token.js.map +1 -0
- package/dist/esm/tempo/actions/utils.js +2 -0
- package/dist/esm/tempo/actions/utils.js.map +1 -0
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/exports/internal.d.ts +1 -1
- package/dist/types/exports/internal.d.ts.map +1 -1
- package/dist/types/exports/query.d.ts +1 -1
- package/dist/types/exports/query.d.ts.map +1 -1
- package/dist/types/exports/tempo.d.ts +5 -0
- package/dist/types/exports/tempo.d.ts.map +1 -0
- package/dist/types/tempo/Connectors.d.ts +99 -0
- package/dist/types/tempo/Connectors.d.ts.map +1 -0
- package/dist/types/tempo/KeyManager.d.ts +71 -0
- package/dist/types/tempo/KeyManager.d.ts.map +1 -0
- package/dist/types/tempo/actions/amm.d.ts +387 -0
- package/dist/types/tempo/actions/amm.d.ts.map +1 -0
- package/dist/types/tempo/actions/dex.d.ts +926 -0
- package/dist/types/tempo/actions/dex.d.ts.map +1 -0
- package/dist/types/tempo/actions/faucet.d.ts +70 -0
- package/dist/types/tempo/actions/faucet.d.ts.map +1 -0
- package/dist/types/tempo/actions/fee.d.ts +141 -0
- package/dist/types/tempo/actions/fee.d.ts.map +1 -0
- package/dist/types/tempo/actions/index.d.ts +10 -0
- package/dist/types/tempo/actions/index.d.ts.map +1 -0
- package/dist/types/tempo/actions/nonce.d.ts +79 -0
- package/dist/types/tempo/actions/nonce.d.ts.map +1 -0
- package/dist/types/tempo/actions/policy.d.ts +478 -0
- package/dist/types/tempo/actions/policy.d.ts.map +1 -0
- package/dist/types/tempo/actions/reward.d.ts +340 -0
- package/dist/types/tempo/actions/reward.d.ts.map +1 -0
- package/dist/types/tempo/actions/token.d.ts +1531 -0
- package/dist/types/tempo/actions/token.d.ts.map +1 -0
- package/dist/types/tempo/actions/utils.d.ts +9 -0
- package/dist/types/tempo/actions/utils.d.ts.map +1 -0
- package/dist/types/types/utils.d.ts +16 -0
- package/dist/types/types/utils.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +14 -2
- package/src/exports/internal.ts +3 -0
- package/src/exports/query.ts +4 -1
- package/src/exports/tempo.ts +14 -0
- package/src/tempo/Connectors.ts +762 -0
- package/src/tempo/KeyManager.ts +176 -0
- package/src/tempo/actions/amm.ts +678 -0
- package/src/tempo/actions/dex.ts +1685 -0
- package/src/tempo/actions/faucet.ts +95 -0
- package/src/tempo/actions/fee.ts +259 -0
- package/src/tempo/actions/index.ts +10 -0
- package/src/tempo/actions/nonce.ts +147 -0
- package/src/tempo/actions/policy.ts +827 -0
- package/src/tempo/actions/reward.ts +624 -0
- package/src/tempo/actions/token.ts +2598 -0
- package/src/tempo/actions/utils.ts +26 -0
- package/src/types/utils.ts +19 -0
- package/src/version.ts +1 -1
- package/tempo/package.json +5 -0
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
import type { Account, BaseErrorType } from 'viem';
|
|
2
|
+
import { Actions } from 'viem/tempo';
|
|
3
|
+
import type { Config } from '../../createConfig.js';
|
|
4
|
+
import type { ChainIdParameter, ConnectorParameter } from '../../types/properties.js';
|
|
5
|
+
import type { UnionLooseOmit } from '../../types/utils.js';
|
|
6
|
+
import type { QueryOptions, QueryParameter } from './utils.js';
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new policy.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
13
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
14
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
15
|
+
*
|
|
16
|
+
* const config = createConfig({
|
|
17
|
+
* chains: [tempoModerato],
|
|
18
|
+
* transports: {
|
|
19
|
+
* [tempo.id]: http(),
|
|
20
|
+
* },
|
|
21
|
+
* })
|
|
22
|
+
*
|
|
23
|
+
* const hash = await Actions.policy.create(config, {
|
|
24
|
+
* type: 'whitelist',
|
|
25
|
+
* })
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @param config - Config.
|
|
29
|
+
* @param parameters - Parameters.
|
|
30
|
+
* @returns Transaction hash.
|
|
31
|
+
*/
|
|
32
|
+
export declare function create<config extends Config>(config: config, parameters: create.Parameters<config>): Promise<Actions.policy.create.ReturnValue>;
|
|
33
|
+
export declare namespace create {
|
|
34
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.policy.create.Parameters<config['chains'][number], Account>, 'chain' | 'admin'>;
|
|
35
|
+
type ReturnValue = Actions.policy.create.ReturnValue;
|
|
36
|
+
type ErrorType = BaseErrorType;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Creates a new policy.
|
|
40
|
+
*
|
|
41
|
+
* Note: This is a synchronous action that waits for the transaction to
|
|
42
|
+
* be included on a block before returning a response.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
47
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
48
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
49
|
+
*
|
|
50
|
+
* const config = createConfig({
|
|
51
|
+
* chains: [tempoModerato],
|
|
52
|
+
* transports: {
|
|
53
|
+
* [tempo.id]: http(),
|
|
54
|
+
* },
|
|
55
|
+
* })
|
|
56
|
+
*
|
|
57
|
+
* const result = await Actions.policy.createSync(config, {
|
|
58
|
+
* type: 'whitelist',
|
|
59
|
+
* })
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param config - Config.
|
|
63
|
+
* @param parameters - Parameters.
|
|
64
|
+
* @returns The transaction receipt and event data.
|
|
65
|
+
*/
|
|
66
|
+
export declare function createSync<config extends Config>(config: config, parameters: createSync.Parameters<config>): Promise<Actions.policy.createSync.ReturnValue>;
|
|
67
|
+
export declare namespace createSync {
|
|
68
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.policy.createSync.Parameters<config['chains'][number], Account>, 'chain' | 'admin'>;
|
|
69
|
+
type ReturnValue = Actions.policy.createSync.ReturnValue;
|
|
70
|
+
type ErrorType = BaseErrorType;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Sets the admin for a policy.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
78
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
79
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
80
|
+
*
|
|
81
|
+
* const config = createConfig({
|
|
82
|
+
* chains: [tempoModerato],
|
|
83
|
+
* transports: {
|
|
84
|
+
* [tempo.id]: http(),
|
|
85
|
+
* },
|
|
86
|
+
* })
|
|
87
|
+
*
|
|
88
|
+
* const hash = await Actions.policy.setAdmin(config, {
|
|
89
|
+
* policyId: 2n,
|
|
90
|
+
* admin: '0x...',
|
|
91
|
+
* })
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @param config - Config.
|
|
95
|
+
* @param parameters - Parameters.
|
|
96
|
+
* @returns Transaction hash.
|
|
97
|
+
*/
|
|
98
|
+
export declare function setAdmin<config extends Config>(config: config, parameters: setAdmin.Parameters<config>): Promise<Actions.policy.setAdmin.ReturnValue>;
|
|
99
|
+
export declare namespace setAdmin {
|
|
100
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.policy.setAdmin.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
101
|
+
type ReturnValue = Actions.policy.setAdmin.ReturnValue;
|
|
102
|
+
type ErrorType = BaseErrorType;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Sets the admin for a policy.
|
|
106
|
+
*
|
|
107
|
+
* Note: This is a synchronous action that waits for the transaction to
|
|
108
|
+
* be included on a block before returning a response.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ```ts
|
|
112
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
113
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
114
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
115
|
+
*
|
|
116
|
+
* const config = createConfig({
|
|
117
|
+
* chains: [tempoModerato],
|
|
118
|
+
* transports: {
|
|
119
|
+
* [tempo.id]: http(),
|
|
120
|
+
* },
|
|
121
|
+
* })
|
|
122
|
+
*
|
|
123
|
+
* const result = await Actions.policy.setAdminSync(config, {
|
|
124
|
+
* policyId: 2n,
|
|
125
|
+
* admin: '0x...',
|
|
126
|
+
* })
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* @param config - Config.
|
|
130
|
+
* @param parameters - Parameters.
|
|
131
|
+
* @returns The transaction receipt and event data.
|
|
132
|
+
*/
|
|
133
|
+
export declare function setAdminSync<config extends Config>(config: config, parameters: setAdminSync.Parameters<config>): Promise<Actions.policy.setAdminSync.ReturnValue>;
|
|
134
|
+
export declare namespace setAdminSync {
|
|
135
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.policy.setAdminSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
136
|
+
type ReturnValue = Actions.policy.setAdminSync.ReturnValue;
|
|
137
|
+
type ErrorType = BaseErrorType;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Modifies a policy whitelist.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* ```ts
|
|
144
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
145
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
146
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
147
|
+
*
|
|
148
|
+
* const config = createConfig({
|
|
149
|
+
* chains: [tempoModerato],
|
|
150
|
+
* transports: {
|
|
151
|
+
* [tempo.id]: http(),
|
|
152
|
+
* },
|
|
153
|
+
* })
|
|
154
|
+
*
|
|
155
|
+
* const hash = await Actions.policy.modifyWhitelist(config, {
|
|
156
|
+
* policyId: 2n,
|
|
157
|
+
* address: '0x...',
|
|
158
|
+
* allowed: true,
|
|
159
|
+
* })
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* @param config - Config.
|
|
163
|
+
* @param parameters - Parameters.
|
|
164
|
+
* @returns Transaction hash.
|
|
165
|
+
*/
|
|
166
|
+
export declare function modifyWhitelist<config extends Config>(config: config, parameters: modifyWhitelist.Parameters<config>): Promise<Actions.policy.modifyWhitelist.ReturnValue>;
|
|
167
|
+
export declare namespace modifyWhitelist {
|
|
168
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.policy.modifyWhitelist.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
169
|
+
type ReturnValue = Actions.policy.modifyWhitelist.ReturnValue;
|
|
170
|
+
type ErrorType = BaseErrorType;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Modifies a policy whitelist.
|
|
174
|
+
*
|
|
175
|
+
* Note: This is a synchronous action that waits for the transaction to
|
|
176
|
+
* be included on a block before returning a response.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* ```ts
|
|
180
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
181
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
182
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
183
|
+
*
|
|
184
|
+
* const config = createConfig({
|
|
185
|
+
* chains: [tempoModerato],
|
|
186
|
+
* transports: {
|
|
187
|
+
* [tempo.id]: http(),
|
|
188
|
+
* },
|
|
189
|
+
* })
|
|
190
|
+
*
|
|
191
|
+
* const result = await Actions.policy.modifyWhitelistSync(config, {
|
|
192
|
+
* policyId: 2n,
|
|
193
|
+
* address: '0x...',
|
|
194
|
+
* allowed: true,
|
|
195
|
+
* })
|
|
196
|
+
* ```
|
|
197
|
+
*
|
|
198
|
+
* @param config - Config.
|
|
199
|
+
* @param parameters - Parameters.
|
|
200
|
+
* @returns The transaction receipt and event data.
|
|
201
|
+
*/
|
|
202
|
+
export declare function modifyWhitelistSync<config extends Config>(config: config, parameters: modifyWhitelistSync.Parameters<config>): Promise<Actions.policy.modifyWhitelistSync.ReturnValue>;
|
|
203
|
+
export declare namespace modifyWhitelistSync {
|
|
204
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.policy.modifyWhitelistSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
205
|
+
type ReturnValue = Actions.policy.modifyWhitelistSync.ReturnValue;
|
|
206
|
+
type ErrorType = BaseErrorType;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Modifies a policy blacklist.
|
|
210
|
+
*
|
|
211
|
+
* @example
|
|
212
|
+
* ```ts
|
|
213
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
214
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
215
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
216
|
+
*
|
|
217
|
+
* const config = createConfig({
|
|
218
|
+
* chains: [tempoModerato],
|
|
219
|
+
* transports: {
|
|
220
|
+
* [tempo.id]: http(),
|
|
221
|
+
* },
|
|
222
|
+
* })
|
|
223
|
+
*
|
|
224
|
+
* const hash = await Actions.policy.modifyBlacklist(config, {
|
|
225
|
+
* policyId: 2n,
|
|
226
|
+
* address: '0x...',
|
|
227
|
+
* restricted: true,
|
|
228
|
+
* })
|
|
229
|
+
* ```
|
|
230
|
+
*
|
|
231
|
+
* @param config - Config.
|
|
232
|
+
* @param parameters - Parameters.
|
|
233
|
+
* @returns Transaction hash.
|
|
234
|
+
*/
|
|
235
|
+
export declare function modifyBlacklist<config extends Config>(config: config, parameters: modifyBlacklist.Parameters<config>): Promise<Actions.policy.modifyBlacklist.ReturnValue>;
|
|
236
|
+
export declare namespace modifyBlacklist {
|
|
237
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.policy.modifyBlacklist.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
238
|
+
type ReturnValue = Actions.policy.modifyBlacklist.ReturnValue;
|
|
239
|
+
type ErrorType = BaseErrorType;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* Modifies a policy blacklist.
|
|
243
|
+
*
|
|
244
|
+
* Note: This is a synchronous action that waits for the transaction to
|
|
245
|
+
* be included on a block before returning a response.
|
|
246
|
+
*
|
|
247
|
+
* @example
|
|
248
|
+
* ```ts
|
|
249
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
250
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
251
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
252
|
+
*
|
|
253
|
+
* const config = createConfig({
|
|
254
|
+
* chains: [tempoModerato],
|
|
255
|
+
* transports: {
|
|
256
|
+
* [tempo.id]: http(),
|
|
257
|
+
* },
|
|
258
|
+
* })
|
|
259
|
+
*
|
|
260
|
+
* const result = await Actions.policy.modifyBlacklistSync(config, {
|
|
261
|
+
* policyId: 2n,
|
|
262
|
+
* address: '0x...',
|
|
263
|
+
* restricted: true,
|
|
264
|
+
* })
|
|
265
|
+
* ```
|
|
266
|
+
*
|
|
267
|
+
* @param config - Config.
|
|
268
|
+
* @param parameters - Parameters.
|
|
269
|
+
* @returns The transaction receipt and event data.
|
|
270
|
+
*/
|
|
271
|
+
export declare function modifyBlacklistSync<config extends Config>(config: config, parameters: modifyBlacklistSync.Parameters<config>): Promise<Actions.policy.modifyBlacklistSync.ReturnValue>;
|
|
272
|
+
export declare namespace modifyBlacklistSync {
|
|
273
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.policy.modifyBlacklistSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
274
|
+
type ReturnValue = Actions.policy.modifyBlacklistSync.ReturnValue;
|
|
275
|
+
type ErrorType = BaseErrorType;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Gets policy data.
|
|
279
|
+
*
|
|
280
|
+
* @example
|
|
281
|
+
* ```ts
|
|
282
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
283
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
284
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
285
|
+
*
|
|
286
|
+
* const config = createConfig({
|
|
287
|
+
* chains: [tempoModerato],
|
|
288
|
+
* transports: {
|
|
289
|
+
* [tempo.id]: http(),
|
|
290
|
+
* },
|
|
291
|
+
* })
|
|
292
|
+
*
|
|
293
|
+
* const data = await Actions.policy.getData(config, {
|
|
294
|
+
* policyId: 2n,
|
|
295
|
+
* })
|
|
296
|
+
* ```
|
|
297
|
+
*
|
|
298
|
+
* @param config - Config.
|
|
299
|
+
* @param parameters - Parameters.
|
|
300
|
+
* @returns The policy data.
|
|
301
|
+
*/
|
|
302
|
+
export declare function getData<config extends Config>(config: config, parameters: getData.Parameters<config>): Promise<getData.ReturnValue>;
|
|
303
|
+
export declare namespace getData {
|
|
304
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.policy.getData.Parameters;
|
|
305
|
+
type ReturnValue = Actions.policy.getData.ReturnValue;
|
|
306
|
+
type ErrorType = BaseErrorType;
|
|
307
|
+
function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getData", Parameters<config>];
|
|
308
|
+
type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
|
|
309
|
+
function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
|
|
310
|
+
namespace queryOptions {
|
|
311
|
+
type Parameters<config extends Config, selectData = getData.ReturnValue> = getData.Parameters<config> & QueryParameter<getData.ReturnValue, getData.ErrorType, selectData, getData.QueryKey<config>>;
|
|
312
|
+
type ReturnValue<config extends Config, selectData = getData.ReturnValue> = QueryOptions<getData.ReturnValue, getData.ErrorType, selectData, getData.QueryKey<config>>;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Checks if a user is authorized by a policy.
|
|
317
|
+
*
|
|
318
|
+
* @example
|
|
319
|
+
* ```ts
|
|
320
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
321
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
322
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
323
|
+
*
|
|
324
|
+
* const config = createConfig({
|
|
325
|
+
* chains: [tempoModerato],
|
|
326
|
+
* transports: {
|
|
327
|
+
* [tempo.id]: http(),
|
|
328
|
+
* },
|
|
329
|
+
* })
|
|
330
|
+
*
|
|
331
|
+
* const authorized = await Actions.policy.isAuthorized(config, {
|
|
332
|
+
* policyId: 2n,
|
|
333
|
+
* user: '0x...',
|
|
334
|
+
* })
|
|
335
|
+
* ```
|
|
336
|
+
*
|
|
337
|
+
* @param config - Config.
|
|
338
|
+
* @param parameters - Parameters.
|
|
339
|
+
* @returns Whether the user is authorized.
|
|
340
|
+
*/
|
|
341
|
+
export declare function isAuthorized<config extends Config>(config: config, parameters: isAuthorized.Parameters<config>): Promise<isAuthorized.ReturnValue>;
|
|
342
|
+
export declare namespace isAuthorized {
|
|
343
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.policy.isAuthorized.Parameters;
|
|
344
|
+
type ReturnValue = Actions.policy.isAuthorized.ReturnValue;
|
|
345
|
+
type ErrorType = BaseErrorType;
|
|
346
|
+
function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["isAuthorized", Parameters<config>];
|
|
347
|
+
type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
|
|
348
|
+
function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
|
|
349
|
+
namespace queryOptions {
|
|
350
|
+
type Parameters<config extends Config, selectData = isAuthorized.ReturnValue> = isAuthorized.Parameters<config> & QueryParameter<isAuthorized.ReturnValue, isAuthorized.ErrorType, selectData, isAuthorized.QueryKey<config>>;
|
|
351
|
+
type ReturnValue<config extends Config, selectData = isAuthorized.ReturnValue> = QueryOptions<isAuthorized.ReturnValue, isAuthorized.ErrorType, selectData, isAuthorized.QueryKey<config>>;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Watches for policy creation events.
|
|
356
|
+
*
|
|
357
|
+
* @example
|
|
358
|
+
* ```ts
|
|
359
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
360
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
361
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
362
|
+
*
|
|
363
|
+
* const config = createConfig({
|
|
364
|
+
* chains: [tempoModerato],
|
|
365
|
+
* transports: {
|
|
366
|
+
* [tempo.id]: http(),
|
|
367
|
+
* },
|
|
368
|
+
* })
|
|
369
|
+
*
|
|
370
|
+
* const unwatch = Actions.policy.watchCreate(config, {
|
|
371
|
+
* onPolicyCreated: (args, log) => {
|
|
372
|
+
* console.log('Policy created:', args)
|
|
373
|
+
* },
|
|
374
|
+
* })
|
|
375
|
+
* ```
|
|
376
|
+
*
|
|
377
|
+
* @param config - Config.
|
|
378
|
+
* @param parameters - Parameters.
|
|
379
|
+
* @returns A function to unsubscribe from the event.
|
|
380
|
+
*/
|
|
381
|
+
export declare function watchCreate<config extends Config>(config: config, parameters: watchCreate.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
382
|
+
export declare namespace watchCreate {
|
|
383
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.policy.watchCreate.Parameters;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Watches for policy admin update events.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* ```ts
|
|
390
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
391
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
392
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
393
|
+
*
|
|
394
|
+
* const config = createConfig({
|
|
395
|
+
* chains: [tempoModerato],
|
|
396
|
+
* transports: {
|
|
397
|
+
* [tempo.id]: http(),
|
|
398
|
+
* },
|
|
399
|
+
* })
|
|
400
|
+
*
|
|
401
|
+
* const unwatch = Actions.policy.watchAdminUpdated(config, {
|
|
402
|
+
* onAdminUpdated: (args, log) => {
|
|
403
|
+
* console.log('Policy admin updated:', args)
|
|
404
|
+
* },
|
|
405
|
+
* })
|
|
406
|
+
* ```
|
|
407
|
+
*
|
|
408
|
+
* @param config - Config.
|
|
409
|
+
* @param parameters - Parameters.
|
|
410
|
+
* @returns A function to unsubscribe from the event.
|
|
411
|
+
*/
|
|
412
|
+
export declare function watchAdminUpdated<config extends Config>(config: config, parameters: watchAdminUpdated.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
413
|
+
export declare namespace watchAdminUpdated {
|
|
414
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.policy.watchAdminUpdated.Parameters;
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Watches for whitelist update events.
|
|
418
|
+
*
|
|
419
|
+
* @example
|
|
420
|
+
* ```ts
|
|
421
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
422
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
423
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
424
|
+
*
|
|
425
|
+
* const config = createConfig({
|
|
426
|
+
* chains: [tempoModerato],
|
|
427
|
+
* transports: {
|
|
428
|
+
* [tempo.id]: http(),
|
|
429
|
+
* },
|
|
430
|
+
* })
|
|
431
|
+
*
|
|
432
|
+
* const unwatch = Actions.policy.watchWhitelistUpdated(config, {
|
|
433
|
+
* onWhitelistUpdated: (args, log) => {
|
|
434
|
+
* console.log('Whitelist updated:', args)
|
|
435
|
+
* },
|
|
436
|
+
* })
|
|
437
|
+
* ```
|
|
438
|
+
*
|
|
439
|
+
* @param config - Config.
|
|
440
|
+
* @param parameters - Parameters.
|
|
441
|
+
* @returns A function to unsubscribe from the event.
|
|
442
|
+
*/
|
|
443
|
+
export declare function watchWhitelistUpdated<config extends Config>(config: config, parameters: watchWhitelistUpdated.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
444
|
+
export declare namespace watchWhitelistUpdated {
|
|
445
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.policy.watchWhitelistUpdated.Parameters;
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Watches for blacklist update events.
|
|
449
|
+
*
|
|
450
|
+
* @example
|
|
451
|
+
* ```ts
|
|
452
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
453
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
454
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
455
|
+
*
|
|
456
|
+
* const config = createConfig({
|
|
457
|
+
* chains: [tempoModerato],
|
|
458
|
+
* transports: {
|
|
459
|
+
* [tempo.id]: http(),
|
|
460
|
+
* },
|
|
461
|
+
* })
|
|
462
|
+
*
|
|
463
|
+
* const unwatch = Actions.policy.watchBlacklistUpdated(config, {
|
|
464
|
+
* onBlacklistUpdated: (args, log) => {
|
|
465
|
+
* console.log('Blacklist updated:', args)
|
|
466
|
+
* },
|
|
467
|
+
* })
|
|
468
|
+
* ```
|
|
469
|
+
*
|
|
470
|
+
* @param config - Config.
|
|
471
|
+
* @param parameters - Parameters.
|
|
472
|
+
* @returns A function to unsubscribe from the event.
|
|
473
|
+
*/
|
|
474
|
+
export declare function watchBlacklistUpdated<config extends Config>(config: config, parameters: watchBlacklistUpdated.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
475
|
+
export declare namespace watchBlacklistUpdated {
|
|
476
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.policy.watchBlacklistUpdated.Parameters;
|
|
477
|
+
}
|
|
478
|
+
//# sourceMappingURL=policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../../../src/tempo/actions/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,cA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