tempo.ts 0.11.1 → 0.12.1
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/CHANGELOG.md +67 -4
- package/README.md +3 -34
- package/dist/server/Handler.d.ts +14 -14
- package/dist/server/Handler.d.ts.map +1 -1
- package/dist/server/Handler.js +16 -17
- package/dist/server/Handler.js.map +1 -1
- package/dist/wagmi/Actions/amm.d.ts +51 -51
- package/dist/wagmi/Actions/amm.d.ts.map +1 -1
- package/dist/wagmi/Actions/amm.js +37 -37
- package/dist/wagmi/Actions/amm.js.map +1 -1
- package/dist/wagmi/Actions/dex.d.ts +129 -129
- package/dist/wagmi/Actions/dex.d.ts.map +1 -1
- package/dist/wagmi/Actions/dex.js +73 -73
- package/dist/wagmi/Actions/dex.js.map +1 -1
- package/dist/wagmi/Actions/faucet.d.ts +9 -9
- package/dist/wagmi/Actions/faucet.d.ts.map +1 -1
- package/dist/wagmi/Actions/faucet.js +7 -7
- package/dist/wagmi/Actions/faucet.js.map +1 -1
- package/dist/wagmi/Actions/fee.d.ts +17 -17
- package/dist/wagmi/Actions/fee.d.ts.map +1 -1
- package/dist/wagmi/Actions/fee.js +10 -10
- package/dist/wagmi/Actions/fee.js.map +1 -1
- package/dist/wagmi/Actions/nonce.d.ts +9 -79
- package/dist/wagmi/Actions/nonce.d.ts.map +1 -1
- package/dist/wagmi/Actions/nonce.js +7 -89
- package/dist/wagmi/Actions/nonce.js.map +1 -1
- package/dist/wagmi/Actions/policy.d.ts +69 -70
- package/dist/wagmi/Actions/policy.d.ts.map +1 -1
- package/dist/wagmi/Actions/policy.js +43 -43
- package/dist/wagmi/Actions/policy.js.map +1 -1
- package/dist/wagmi/Actions/reward.d.ts +51 -51
- package/dist/wagmi/Actions/reward.d.ts.map +1 -1
- package/dist/wagmi/Actions/reward.js +31 -31
- package/dist/wagmi/Actions/reward.js.map +1 -1
- package/dist/wagmi/Actions/token.d.ts +238 -238
- package/dist/wagmi/Actions/token.d.ts.map +1 -1
- package/dist/wagmi/Actions/token.js +136 -136
- package/dist/wagmi/Actions/token.js.map +1 -1
- package/dist/wagmi/Connector.d.ts +2 -1
- package/dist/wagmi/Connector.d.ts.map +1 -1
- package/dist/wagmi/Connector.js +83 -22
- package/dist/wagmi/Connector.js.map +1 -1
- package/dist/wagmi/Hooks/nonce.d.ts +1 -52
- package/dist/wagmi/Hooks/nonce.d.ts.map +1 -1
- package/dist/wagmi/Hooks/nonce.js +1 -70
- package/dist/wagmi/Hooks/nonce.js.map +1 -1
- package/dist/wagmi/Hooks/policy.d.ts +0 -1
- package/dist/wagmi/Hooks/policy.d.ts.map +1 -1
- package/dist/wagmi/Hooks/policy.js.map +1 -1
- package/dist/wagmi/KeyManager.d.ts +6 -3
- package/dist/wagmi/KeyManager.d.ts.map +1 -1
- package/dist/wagmi/KeyManager.js +9 -4
- package/dist/wagmi/KeyManager.js.map +1 -1
- package/package.json +3 -13
- package/src/server/Handler.test.ts +2 -2
- package/src/server/Handler.ts +16 -17
- package/src/wagmi/Actions/amm.ts +63 -63
- package/src/wagmi/Actions/dex.test.ts +1 -1
- package/src/wagmi/Actions/dex.ts +153 -153
- package/src/wagmi/Actions/faucet.ts +11 -11
- package/src/wagmi/Actions/fee.ts +20 -20
- package/src/wagmi/Actions/nonce.test.ts +1 -64
- package/src/wagmi/Actions/nonce.ts +10 -142
- package/src/wagmi/Actions/policy.ts +83 -85
- package/src/wagmi/Actions/reward.ts +64 -61
- package/src/wagmi/Actions/token.ts +287 -283
- package/src/wagmi/Connector.ts +105 -31
- package/src/wagmi/Hooks/dex.test.ts +1 -1
- package/src/wagmi/Hooks/fee.test.ts +0 -6
- package/src/wagmi/Hooks/nonce.test.ts +1 -66
- package/src/wagmi/Hooks/nonce.ts +1 -114
- package/src/wagmi/Hooks/policy.ts +0 -2
- package/src/wagmi/KeyManager.ts +18 -5
- package/dist/chains.d.ts +0 -73
- package/dist/chains.d.ts.map +0 -1
- package/dist/chains.js +0 -51
- package/dist/chains.js.map +0 -1
- package/dist/viem/Abis.d.ts +0 -2649
- package/dist/viem/Abis.d.ts.map +0 -1
- package/dist/viem/Abis.js +0 -1677
- package/dist/viem/Abis.js.map +0 -1
- package/dist/viem/Account.d.ts +0 -244
- package/dist/viem/Account.d.ts.map +0 -1
- package/dist/viem/Account.js +0 -382
- package/dist/viem/Account.js.map +0 -1
- package/dist/viem/Actions/account.d.ts +0 -40
- package/dist/viem/Actions/account.d.ts.map +0 -1
- package/dist/viem/Actions/account.js +0 -86
- package/dist/viem/Actions/account.js.map +0 -1
- package/dist/viem/Actions/amm.d.ts +0 -1991
- package/dist/viem/Actions/amm.d.ts.map +0 -1
- package/dist/viem/Actions/amm.js +0 -814
- package/dist/viem/Actions/amm.js.map +0 -1
- package/dist/viem/Actions/dex.d.ts +0 -3900
- package/dist/viem/Actions/dex.d.ts.map +0 -1
- package/dist/viem/Actions/dex.js +0 -1414
- package/dist/viem/Actions/dex.js.map +0 -1
- package/dist/viem/Actions/faucet.d.ts +0 -69
- package/dist/viem/Actions/faucet.d.ts.map +0 -1
- package/dist/viem/Actions/faucet.js +0 -73
- package/dist/viem/Actions/faucet.js.map +0 -1
- package/dist/viem/Actions/fee.d.ts +0 -360
- package/dist/viem/Actions/fee.d.ts.map +0 -1
- package/dist/viem/Actions/fee.js +0 -237
- package/dist/viem/Actions/fee.js.map +0 -1
- package/dist/viem/Actions/index.d.ts +0 -10
- package/dist/viem/Actions/index.d.ts.map +0 -1
- package/dist/viem/Actions/index.js +0 -10
- package/dist/viem/Actions/index.js.map +0 -1
- package/dist/viem/Actions/nonce.d.ts +0 -257
- package/dist/viem/Actions/nonce.d.ts.map +0 -1
- package/dist/viem/Actions/nonce.js +0 -228
- package/dist/viem/Actions/nonce.js.map +0 -1
- package/dist/viem/Actions/policy.d.ts +0 -1680
- package/dist/viem/Actions/policy.d.ts.map +0 -1
- package/dist/viem/Actions/policy.js +0 -875
- package/dist/viem/Actions/policy.js.map +0 -1
- package/dist/viem/Actions/reward.d.ts +0 -2422
- package/dist/viem/Actions/reward.d.ts.map +0 -1
- package/dist/viem/Actions/reward.js +0 -651
- package/dist/viem/Actions/reward.js.map +0 -1
- package/dist/viem/Actions/token.d.ts +0 -16007
- package/dist/viem/Actions/token.d.ts.map +0 -1
- package/dist/viem/Actions/token.js +0 -2936
- package/dist/viem/Actions/token.js.map +0 -1
- package/dist/viem/Addresses.d.ts +0 -9
- package/dist/viem/Addresses.d.ts.map +0 -1
- package/dist/viem/Addresses.js +0 -9
- package/dist/viem/Addresses.js.map +0 -1
- package/dist/viem/Chain.d.ts +0 -451
- package/dist/viem/Chain.d.ts.map +0 -1
- package/dist/viem/Chain.js +0 -96
- package/dist/viem/Chain.js.map +0 -1
- package/dist/viem/Decorator.d.ts +0 -2783
- package/dist/viem/Decorator.d.ts.map +0 -1
- package/dist/viem/Decorator.js +0 -137
- package/dist/viem/Decorator.js.map +0 -1
- package/dist/viem/Formatters.d.ts +0 -10
- package/dist/viem/Formatters.d.ts.map +0 -1
- package/dist/viem/Formatters.js +0 -104
- package/dist/viem/Formatters.js.map +0 -1
- package/dist/viem/P256.d.ts +0 -2
- package/dist/viem/P256.d.ts.map +0 -1
- package/dist/viem/P256.js +0 -2
- package/dist/viem/P256.js.map +0 -1
- package/dist/viem/Secp256k1.d.ts +0 -2
- package/dist/viem/Secp256k1.d.ts.map +0 -1
- package/dist/viem/Secp256k1.js +0 -2
- package/dist/viem/Secp256k1.js.map +0 -1
- package/dist/viem/Storage.d.ts +0 -24
- package/dist/viem/Storage.d.ts.map +0 -1
- package/dist/viem/Storage.js +0 -68
- package/dist/viem/Storage.js.map +0 -1
- package/dist/viem/TokenIds.d.ts +0 -2
- package/dist/viem/TokenIds.d.ts.map +0 -1
- package/dist/viem/TokenIds.js +0 -2
- package/dist/viem/TokenIds.js.map +0 -1
- package/dist/viem/Transaction.d.ts +0 -76
- package/dist/viem/Transaction.d.ts.map +0 -1
- package/dist/viem/Transaction.js +0 -176
- package/dist/viem/Transaction.js.map +0 -1
- package/dist/viem/Transport.d.ts +0 -33
- package/dist/viem/Transport.d.ts.map +0 -1
- package/dist/viem/Transport.js +0 -138
- package/dist/viem/Transport.js.map +0 -1
- package/dist/viem/WebAuthnP256.d.ts +0 -82
- package/dist/viem/WebAuthnP256.d.ts.map +0 -1
- package/dist/viem/WebAuthnP256.js +0 -97
- package/dist/viem/WebAuthnP256.js.map +0 -1
- package/dist/viem/WebCryptoP256.d.ts +0 -2
- package/dist/viem/WebCryptoP256.d.ts.map +0 -1
- package/dist/viem/WebCryptoP256.js +0 -2
- package/dist/viem/WebCryptoP256.js.map +0 -1
- package/dist/viem/index.d.ts +0 -26
- package/dist/viem/index.d.ts.map +0 -1
- package/dist/viem/index.js +0 -17
- package/dist/viem/index.js.map +0 -1
- package/dist/viem/internal/types.d.ts +0 -20
- package/dist/viem/internal/types.d.ts.map +0 -1
- package/dist/viem/internal/types.js +0 -2
- package/dist/viem/internal/types.js.map +0 -1
- package/dist/viem/internal/utils.d.ts +0 -14
- package/dist/viem/internal/utils.d.ts.map +0 -1
- package/dist/viem/internal/utils.js +0 -33
- package/dist/viem/internal/utils.js.map +0 -1
- package/src/chains.ts +0 -54
- package/src/viem/Abis.ts +0 -1688
- package/src/viem/Account.test.ts +0 -444
- package/src/viem/Account.ts +0 -601
- package/src/viem/Actions/account.test.ts +0 -414
- package/src/viem/Actions/account.ts +0 -106
- package/src/viem/Actions/amm.test.ts +0 -381
- package/src/viem/Actions/amm.ts +0 -1227
- package/src/viem/Actions/dex.test.ts +0 -1549
- package/src/viem/Actions/dex.ts +0 -2150
- package/src/viem/Actions/faucet.ts +0 -121
- package/src/viem/Actions/fee.test.ts +0 -259
- package/src/viem/Actions/fee.ts +0 -372
- package/src/viem/Actions/index.ts +0 -9
- package/src/viem/Actions/nonce.test.ts +0 -206
- package/src/viem/Actions/nonce.ts +0 -347
- package/src/viem/Actions/policy.test.ts +0 -534
- package/src/viem/Actions/policy.ts +0 -1335
- package/src/viem/Actions/reward.test.ts +0 -434
- package/src/viem/Actions/reward.ts +0 -944
- package/src/viem/Actions/token.test.ts +0 -3029
- package/src/viem/Actions/token.ts +0 -4458
- package/src/viem/Addresses.ts +0 -9
- package/src/viem/Chain.bench-d.ts +0 -12
- package/src/viem/Chain.test.ts +0 -168
- package/src/viem/Chain.ts +0 -157
- package/src/viem/Decorator.bench-d.ts +0 -11
- package/src/viem/Decorator.test.ts +0 -39
- package/src/viem/Decorator.ts +0 -3179
- package/src/viem/Formatters.ts +0 -164
- package/src/viem/P256.ts +0 -1
- package/src/viem/Secp256k1.ts +0 -1
- package/src/viem/Storage.ts +0 -110
- package/src/viem/TokenIds.ts +0 -1
- package/src/viem/Transaction.ts +0 -382
- package/src/viem/Transport.ts +0 -191
- package/src/viem/WebAuthnP256.ts +0 -146
- package/src/viem/WebCryptoP256.ts +0 -1
- package/src/viem/e2e.test.ts +0 -1602
- package/src/viem/index.ts +0 -30
- package/src/viem/internal/types.ts +0 -69
- package/src/viem/internal/utils.ts +0 -58
- package/src/wagmi/internal/types.ts +0 -16
|
@@ -2,19 +2,19 @@ import type * as Query from '@tanstack/query-core';
|
|
|
2
2
|
import { type Config } from '@wagmi/core';
|
|
3
3
|
import type { ChainIdParameter, ConnectorParameter } from '@wagmi/core/internal';
|
|
4
4
|
import type { Account } from 'viem';
|
|
5
|
+
import { Actions } from 'viem/tempo';
|
|
5
6
|
import type { RequiredBy, UnionOmit } from '../../internal/types.js';
|
|
6
|
-
import * as viem_Actions from '../../viem/Actions/token.js';
|
|
7
7
|
/**
|
|
8
8
|
* Approves a spender to transfer TIP20 tokens on behalf of the caller.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
12
12
|
* import { createConfig, http } from '@wagmi/core'
|
|
13
|
-
* import { tempo } from '
|
|
13
|
+
* import { tempo } from 'viem/chains'
|
|
14
14
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
15
15
|
*
|
|
16
16
|
* const config = createConfig({
|
|
17
|
-
* chains: [
|
|
17
|
+
* chains: [tempoTestnet],
|
|
18
18
|
* transports: {
|
|
19
19
|
* [tempo.id]: http(),
|
|
20
20
|
* },
|
|
@@ -30,11 +30,11 @@ import * as viem_Actions from '../../viem/Actions/token.js';
|
|
|
30
30
|
* @param parameters - Parameters.
|
|
31
31
|
* @returns Transaction hash.
|
|
32
32
|
*/
|
|
33
|
-
export declare function approve<config extends Config>(config: config, parameters: approve.Parameters<config>): Promise<
|
|
33
|
+
export declare function approve<config extends Config>(config: config, parameters: approve.Parameters<config>): Promise<Actions.token.approve.ReturnValue>;
|
|
34
34
|
export declare namespace approve {
|
|
35
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
36
|
-
type ReturnValue =
|
|
37
|
-
type ErrorType =
|
|
35
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.approve.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
36
|
+
type ReturnValue = Actions.token.approve.ReturnValue;
|
|
37
|
+
type ErrorType = Actions.token.approve.ErrorType;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Approves a spender to transfer TIP20 tokens on behalf of the caller.
|
|
@@ -45,11 +45,11 @@ export declare namespace approve {
|
|
|
45
45
|
* @example
|
|
46
46
|
* ```ts
|
|
47
47
|
* import { createConfig, http } from '@wagmi/core'
|
|
48
|
-
* import { tempo } from '
|
|
48
|
+
* import { tempo } from 'viem/chains'
|
|
49
49
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
50
50
|
*
|
|
51
51
|
* const config = createConfig({
|
|
52
|
-
* chains: [
|
|
52
|
+
* chains: [tempoTestnet],
|
|
53
53
|
* transports: {
|
|
54
54
|
* [tempo.id]: http(),
|
|
55
55
|
* },
|
|
@@ -65,11 +65,11 @@ export declare namespace approve {
|
|
|
65
65
|
* @param parameters - Parameters.
|
|
66
66
|
* @returns The transaction receipt and event data.
|
|
67
67
|
*/
|
|
68
|
-
export declare function approveSync<config extends Config>(config: config, parameters: approveSync.Parameters<config>): Promise<
|
|
68
|
+
export declare function approveSync<config extends Config>(config: config, parameters: approveSync.Parameters<config>): Promise<Actions.token.approveSync.ReturnValue>;
|
|
69
69
|
export declare namespace approveSync {
|
|
70
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
71
|
-
type ReturnValue =
|
|
72
|
-
type ErrorType =
|
|
70
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.approveSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
71
|
+
type ReturnValue = Actions.token.approveSync.ReturnValue;
|
|
72
|
+
type ErrorType = Actions.token.approveSync.ErrorType;
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
75
|
* Burns TIP20 tokens from the caller's balance.
|
|
@@ -77,11 +77,11 @@ export declare namespace approveSync {
|
|
|
77
77
|
* @example
|
|
78
78
|
* ```ts
|
|
79
79
|
* import { createConfig, http } from '@wagmi/core'
|
|
80
|
-
* import { tempo } from '
|
|
80
|
+
* import { tempo } from 'viem/chains'
|
|
81
81
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
82
82
|
*
|
|
83
83
|
* const config = createConfig({
|
|
84
|
-
* chains: [
|
|
84
|
+
* chains: [tempoTestnet],
|
|
85
85
|
* transports: {
|
|
86
86
|
* [tempo.id]: http(),
|
|
87
87
|
* },
|
|
@@ -97,11 +97,11 @@ export declare namespace approveSync {
|
|
|
97
97
|
* @param parameters - Parameters.
|
|
98
98
|
* @returns Transaction hash.
|
|
99
99
|
*/
|
|
100
|
-
export declare function burn<config extends Config>(config: config, parameters: burn.Parameters<config>): Promise<
|
|
100
|
+
export declare function burn<config extends Config>(config: config, parameters: burn.Parameters<config>): Promise<Actions.token.burn.ReturnValue>;
|
|
101
101
|
export declare namespace burn {
|
|
102
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
103
|
-
type ReturnValue =
|
|
104
|
-
type ErrorType =
|
|
102
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.burn.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
103
|
+
type ReturnValue = Actions.token.burn.ReturnValue;
|
|
104
|
+
type ErrorType = Actions.token.burn.ErrorType;
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* Burns TIP20 tokens from a blocked address.
|
|
@@ -109,11 +109,11 @@ export declare namespace burn {
|
|
|
109
109
|
* @example
|
|
110
110
|
* ```ts
|
|
111
111
|
* import { createConfig, http } from '@wagmi/core'
|
|
112
|
-
* import { tempo } from '
|
|
112
|
+
* import { tempo } from 'viem/chains'
|
|
113
113
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
114
114
|
*
|
|
115
115
|
* const config = createConfig({
|
|
116
|
-
* chains: [
|
|
116
|
+
* chains: [tempoTestnet],
|
|
117
117
|
* transports: {
|
|
118
118
|
* [tempo.id]: http(),
|
|
119
119
|
* },
|
|
@@ -130,11 +130,11 @@ export declare namespace burn {
|
|
|
130
130
|
* @param parameters - Parameters.
|
|
131
131
|
* @returns Transaction hash.
|
|
132
132
|
*/
|
|
133
|
-
export declare function burnBlocked<config extends Config>(config: config, parameters: burnBlocked.Parameters<config>): Promise<
|
|
133
|
+
export declare function burnBlocked<config extends Config>(config: config, parameters: burnBlocked.Parameters<config>): Promise<Actions.token.burnBlocked.ReturnValue>;
|
|
134
134
|
export declare namespace burnBlocked {
|
|
135
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
136
|
-
type ReturnValue =
|
|
137
|
-
type ErrorType =
|
|
135
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.burnBlocked.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
136
|
+
type ReturnValue = Actions.token.burnBlocked.ReturnValue;
|
|
137
|
+
type ErrorType = Actions.token.burnBlocked.ErrorType;
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
140
|
* Burns TIP20 tokens from a blocked address.
|
|
@@ -145,11 +145,11 @@ export declare namespace burnBlocked {
|
|
|
145
145
|
* @example
|
|
146
146
|
* ```ts
|
|
147
147
|
* import { createConfig, http } from '@wagmi/core'
|
|
148
|
-
* import { tempo } from '
|
|
148
|
+
* import { tempo } from 'viem/chains'
|
|
149
149
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
150
150
|
*
|
|
151
151
|
* const config = createConfig({
|
|
152
|
-
* chains: [
|
|
152
|
+
* chains: [tempoTestnet],
|
|
153
153
|
* transports: {
|
|
154
154
|
* [tempo.id]: http(),
|
|
155
155
|
* },
|
|
@@ -166,11 +166,11 @@ export declare namespace burnBlocked {
|
|
|
166
166
|
* @param parameters - Parameters.
|
|
167
167
|
* @returns The transaction receipt and event data.
|
|
168
168
|
*/
|
|
169
|
-
export declare function burnBlockedSync<config extends Config>(config: config, parameters: burnBlockedSync.Parameters<config>): Promise<
|
|
169
|
+
export declare function burnBlockedSync<config extends Config>(config: config, parameters: burnBlockedSync.Parameters<config>): Promise<Actions.token.burnBlockedSync.ReturnValue>;
|
|
170
170
|
export declare namespace burnBlockedSync {
|
|
171
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
172
|
-
type ReturnValue =
|
|
173
|
-
type ErrorType =
|
|
171
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.burnBlockedSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
172
|
+
type ReturnValue = Actions.token.burnBlockedSync.ReturnValue;
|
|
173
|
+
type ErrorType = Actions.token.burnBlockedSync.ErrorType;
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
176
|
* Burns TIP20 tokens from the caller's balance.
|
|
@@ -181,11 +181,11 @@ export declare namespace burnBlockedSync {
|
|
|
181
181
|
* @example
|
|
182
182
|
* ```ts
|
|
183
183
|
* import { createConfig, http } from '@wagmi/core'
|
|
184
|
-
* import { tempo } from '
|
|
184
|
+
* import { tempo } from 'viem/chains'
|
|
185
185
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
186
186
|
*
|
|
187
187
|
* const config = createConfig({
|
|
188
|
-
* chains: [
|
|
188
|
+
* chains: [tempoTestnet],
|
|
189
189
|
* transports: {
|
|
190
190
|
* [tempo.id]: http(),
|
|
191
191
|
* },
|
|
@@ -201,11 +201,11 @@ export declare namespace burnBlockedSync {
|
|
|
201
201
|
* @param parameters - Parameters.
|
|
202
202
|
* @returns The transaction receipt and event data.
|
|
203
203
|
*/
|
|
204
|
-
export declare function burnSync<config extends Config>(config: config, parameters: burnSync.Parameters<config>): Promise<
|
|
204
|
+
export declare function burnSync<config extends Config>(config: config, parameters: burnSync.Parameters<config>): Promise<Actions.token.burnSync.ReturnValue>;
|
|
205
205
|
export declare namespace burnSync {
|
|
206
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
207
|
-
type ReturnValue =
|
|
208
|
-
type ErrorType =
|
|
206
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.burnSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
207
|
+
type ReturnValue = Actions.token.burnSync.ReturnValue;
|
|
208
|
+
type ErrorType = Actions.token.burnSync.ErrorType;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
211
|
* Changes the transfer policy ID for a TIP20 token.
|
|
@@ -213,11 +213,11 @@ export declare namespace burnSync {
|
|
|
213
213
|
* @example
|
|
214
214
|
* ```ts
|
|
215
215
|
* import { createConfig, http } from '@wagmi/core'
|
|
216
|
-
* import { tempo } from '
|
|
216
|
+
* import { tempo } from 'viem/chains'
|
|
217
217
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
218
218
|
*
|
|
219
219
|
* const config = createConfig({
|
|
220
|
-
* chains: [
|
|
220
|
+
* chains: [tempoTestnet],
|
|
221
221
|
* transports: {
|
|
222
222
|
* [tempo.id]: http(),
|
|
223
223
|
* },
|
|
@@ -233,11 +233,11 @@ export declare namespace burnSync {
|
|
|
233
233
|
* @param parameters - Parameters.
|
|
234
234
|
* @returns Transaction hash.
|
|
235
235
|
*/
|
|
236
|
-
export declare function changeTransferPolicy<config extends Config>(config: config, parameters: changeTransferPolicy.Parameters<config>): Promise<
|
|
236
|
+
export declare function changeTransferPolicy<config extends Config>(config: config, parameters: changeTransferPolicy.Parameters<config>): Promise<Actions.token.changeTransferPolicy.ReturnValue>;
|
|
237
237
|
export declare namespace changeTransferPolicy {
|
|
238
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
239
|
-
type ReturnValue =
|
|
240
|
-
type ErrorType =
|
|
238
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.changeTransferPolicy.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
239
|
+
type ReturnValue = Actions.token.changeTransferPolicy.ReturnValue;
|
|
240
|
+
type ErrorType = Actions.token.changeTransferPolicy.ErrorType;
|
|
241
241
|
}
|
|
242
242
|
/**
|
|
243
243
|
* Changes the transfer policy ID for a TIP20 token.
|
|
@@ -248,11 +248,11 @@ export declare namespace changeTransferPolicy {
|
|
|
248
248
|
* @example
|
|
249
249
|
* ```ts
|
|
250
250
|
* import { createConfig, http } from '@wagmi/core'
|
|
251
|
-
* import { tempo } from '
|
|
251
|
+
* import { tempo } from 'viem/chains'
|
|
252
252
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
253
253
|
*
|
|
254
254
|
* const config = createConfig({
|
|
255
|
-
* chains: [
|
|
255
|
+
* chains: [tempoTestnet],
|
|
256
256
|
* transports: {
|
|
257
257
|
* [tempo.id]: http(),
|
|
258
258
|
* },
|
|
@@ -268,11 +268,11 @@ export declare namespace changeTransferPolicy {
|
|
|
268
268
|
* @param parameters - Parameters.
|
|
269
269
|
* @returns The transaction receipt and event data.
|
|
270
270
|
*/
|
|
271
|
-
export declare function changeTransferPolicySync<config extends Config>(config: config, parameters: changeTransferPolicySync.Parameters<config>): Promise<
|
|
271
|
+
export declare function changeTransferPolicySync<config extends Config>(config: config, parameters: changeTransferPolicySync.Parameters<config>): Promise<Actions.token.changeTransferPolicySync.ReturnValue>;
|
|
272
272
|
export declare namespace changeTransferPolicySync {
|
|
273
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
274
|
-
type ReturnValue =
|
|
275
|
-
type ErrorType =
|
|
273
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.changeTransferPolicySync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
274
|
+
type ReturnValue = Actions.token.changeTransferPolicySync.ReturnValue;
|
|
275
|
+
type ErrorType = Actions.token.changeTransferPolicySync.ErrorType;
|
|
276
276
|
}
|
|
277
277
|
/**
|
|
278
278
|
* Creates a new TIP20 token.
|
|
@@ -280,11 +280,11 @@ export declare namespace changeTransferPolicySync {
|
|
|
280
280
|
* @example
|
|
281
281
|
* ```ts
|
|
282
282
|
* import { createConfig, http } from '@wagmi/core'
|
|
283
|
-
* import { tempo } from '
|
|
283
|
+
* import { tempo } from 'viem/chains'
|
|
284
284
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
285
285
|
*
|
|
286
286
|
* const config = createConfig({
|
|
287
|
-
* chains: [
|
|
287
|
+
* chains: [tempoTestnet],
|
|
288
288
|
* transports: {
|
|
289
289
|
* [tempo.id]: http(),
|
|
290
290
|
* },
|
|
@@ -301,11 +301,11 @@ export declare namespace changeTransferPolicySync {
|
|
|
301
301
|
* @param parameters - Parameters.
|
|
302
302
|
* @returns Transaction hash.
|
|
303
303
|
*/
|
|
304
|
-
export declare function create<config extends Config>(config: config, parameters: create.Parameters<config>): Promise<
|
|
304
|
+
export declare function create<config extends Config>(config: config, parameters: create.Parameters<config>): Promise<Actions.token.create.ReturnValue>;
|
|
305
305
|
export declare namespace create {
|
|
306
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
307
|
-
type ReturnValue =
|
|
308
|
-
type ErrorType =
|
|
306
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.create.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
307
|
+
type ReturnValue = Actions.token.create.ReturnValue;
|
|
308
|
+
type ErrorType = Actions.token.create.ErrorType;
|
|
309
309
|
}
|
|
310
310
|
/**
|
|
311
311
|
* Creates a new TIP20 token.
|
|
@@ -316,11 +316,11 @@ export declare namespace create {
|
|
|
316
316
|
* @example
|
|
317
317
|
* ```ts
|
|
318
318
|
* import { createConfig, http } from '@wagmi/core'
|
|
319
|
-
* import { tempo } from '
|
|
319
|
+
* import { tempo } from 'viem/chains'
|
|
320
320
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
321
321
|
*
|
|
322
322
|
* const config = createConfig({
|
|
323
|
-
* chains: [
|
|
323
|
+
* chains: [tempoTestnet],
|
|
324
324
|
* transports: {
|
|
325
325
|
* [tempo.id]: http(),
|
|
326
326
|
* },
|
|
@@ -337,11 +337,11 @@ export declare namespace create {
|
|
|
337
337
|
* @param parameters - Parameters.
|
|
338
338
|
* @returns The transaction receipt and event data.
|
|
339
339
|
*/
|
|
340
|
-
export declare function createSync<config extends Config>(config: config, parameters: createSync.Parameters<config>): Promise<
|
|
340
|
+
export declare function createSync<config extends Config>(config: config, parameters: createSync.Parameters<config>): Promise<Actions.token.createSync.ReturnValue>;
|
|
341
341
|
export declare namespace createSync {
|
|
342
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
343
|
-
type ReturnValue =
|
|
344
|
-
type ErrorType =
|
|
342
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.createSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
343
|
+
type ReturnValue = Actions.token.createSync.ReturnValue;
|
|
344
|
+
type ErrorType = Actions.token.createSync.ErrorType;
|
|
345
345
|
}
|
|
346
346
|
/**
|
|
347
347
|
* Updates the quote token for a TIP20 token.
|
|
@@ -349,11 +349,11 @@ export declare namespace createSync {
|
|
|
349
349
|
* @example
|
|
350
350
|
* ```ts
|
|
351
351
|
* import { createConfig, http } from '@wagmi/core'
|
|
352
|
-
* import { tempo } from '
|
|
352
|
+
* import { tempo } from 'viem/chains'
|
|
353
353
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
354
354
|
*
|
|
355
355
|
* const config = createConfig({
|
|
356
|
-
* chains: [
|
|
356
|
+
* chains: [tempoTestnet],
|
|
357
357
|
* transports: {
|
|
358
358
|
* [tempo.id]: http(),
|
|
359
359
|
* },
|
|
@@ -368,11 +368,11 @@ export declare namespace createSync {
|
|
|
368
368
|
* @param parameters - Parameters.
|
|
369
369
|
* @returns Transaction hash.
|
|
370
370
|
*/
|
|
371
|
-
export declare function updateQuoteToken<config extends Config>(config: config, parameters: updateQuoteToken.Parameters<config>): Promise<
|
|
371
|
+
export declare function updateQuoteToken<config extends Config>(config: config, parameters: updateQuoteToken.Parameters<config>): Promise<Actions.token.updateQuoteToken.ReturnValue>;
|
|
372
372
|
export declare namespace updateQuoteToken {
|
|
373
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
374
|
-
type ReturnValue =
|
|
375
|
-
type ErrorType =
|
|
373
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.updateQuoteToken.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
374
|
+
type ReturnValue = Actions.token.updateQuoteToken.ReturnValue;
|
|
375
|
+
type ErrorType = Actions.token.updateQuoteToken.ErrorType;
|
|
376
376
|
}
|
|
377
377
|
/**
|
|
378
378
|
* Updates the quote token for a TIP20 token.
|
|
@@ -383,11 +383,11 @@ export declare namespace updateQuoteToken {
|
|
|
383
383
|
* @example
|
|
384
384
|
* ```ts
|
|
385
385
|
* import { createConfig, http } from '@wagmi/core'
|
|
386
|
-
* import { tempo } from '
|
|
386
|
+
* import { tempo } from 'viem/chains'
|
|
387
387
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
388
388
|
*
|
|
389
389
|
* const config = createConfig({
|
|
390
|
-
* chains: [
|
|
390
|
+
* chains: [tempoTestnet],
|
|
391
391
|
* transports: {
|
|
392
392
|
* [tempo.id]: http(),
|
|
393
393
|
* },
|
|
@@ -402,11 +402,11 @@ export declare namespace updateQuoteToken {
|
|
|
402
402
|
* @param parameters - Parameters.
|
|
403
403
|
* @returns The transaction receipt and event data.
|
|
404
404
|
*/
|
|
405
|
-
export declare function updateQuoteTokenSync<config extends Config>(config: config, parameters: updateQuoteTokenSync.Parameters<config>): Promise<
|
|
405
|
+
export declare function updateQuoteTokenSync<config extends Config>(config: config, parameters: updateQuoteTokenSync.Parameters<config>): Promise<Actions.token.updateQuoteTokenSync.ReturnValue>;
|
|
406
406
|
export declare namespace updateQuoteTokenSync {
|
|
407
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
408
|
-
type ReturnValue =
|
|
409
|
-
type ErrorType =
|
|
407
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.updateQuoteTokenSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
408
|
+
type ReturnValue = Actions.token.updateQuoteTokenSync.ReturnValue;
|
|
409
|
+
type ErrorType = Actions.token.updateQuoteTokenSync.ErrorType;
|
|
410
410
|
}
|
|
411
411
|
/**
|
|
412
412
|
* Gets TIP20 token allowance.
|
|
@@ -414,11 +414,11 @@ export declare namespace updateQuoteTokenSync {
|
|
|
414
414
|
* @example
|
|
415
415
|
* ```ts
|
|
416
416
|
* import { createConfig, http } from '@wagmi/core'
|
|
417
|
-
* import { tempo } from '
|
|
417
|
+
* import { tempo } from 'viem/chains'
|
|
418
418
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
419
419
|
*
|
|
420
420
|
* const config = createConfig({
|
|
421
|
-
* chains: [
|
|
421
|
+
* chains: [tempoTestnet],
|
|
422
422
|
* transports: {
|
|
423
423
|
* [tempo.id]: http(),
|
|
424
424
|
* },
|
|
@@ -436,8 +436,8 @@ export declare namespace updateQuoteTokenSync {
|
|
|
436
436
|
*/
|
|
437
437
|
export declare function getAllowance<config extends Config>(config: config, parameters: getAllowance.Parameters<config>): Promise<bigint>;
|
|
438
438
|
export declare namespace getAllowance {
|
|
439
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
440
|
-
type ReturnValue =
|
|
439
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.getAllowance.Parameters;
|
|
440
|
+
type ReturnValue = Actions.token.getAllowance.ReturnValue;
|
|
441
441
|
function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getAllowance", Parameters<config>];
|
|
442
442
|
type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
|
|
443
443
|
function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
|
|
@@ -454,11 +454,11 @@ export declare namespace getAllowance {
|
|
|
454
454
|
* @example
|
|
455
455
|
* ```ts
|
|
456
456
|
* import { createConfig, http } from '@wagmi/core'
|
|
457
|
-
* import { tempo } from '
|
|
457
|
+
* import { tempo } from 'viem/chains'
|
|
458
458
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
459
459
|
*
|
|
460
460
|
* const config = createConfig({
|
|
461
|
-
* chains: [
|
|
461
|
+
* chains: [tempoTestnet],
|
|
462
462
|
* transports: {
|
|
463
463
|
* [tempo.id]: http(),
|
|
464
464
|
* },
|
|
@@ -475,8 +475,8 @@ export declare namespace getAllowance {
|
|
|
475
475
|
*/
|
|
476
476
|
export declare function getBalance<config extends Config>(config: config, parameters: getBalance.Parameters<config>): Promise<bigint>;
|
|
477
477
|
export declare namespace getBalance {
|
|
478
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
479
|
-
type ReturnValue =
|
|
478
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.getBalance.Parameters;
|
|
479
|
+
type ReturnValue = Actions.token.getBalance.ReturnValue;
|
|
480
480
|
function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getBalance", Parameters<config>];
|
|
481
481
|
type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
|
|
482
482
|
function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
|
|
@@ -493,11 +493,11 @@ export declare namespace getBalance {
|
|
|
493
493
|
* @example
|
|
494
494
|
* ```ts
|
|
495
495
|
* import { createConfig, http } from '@wagmi/core'
|
|
496
|
-
* import { tempo } from '
|
|
496
|
+
* import { tempo } from 'viem/chains'
|
|
497
497
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
498
498
|
*
|
|
499
499
|
* const config = createConfig({
|
|
500
|
-
* chains: [
|
|
500
|
+
* chains: [tempoTestnet],
|
|
501
501
|
* transports: {
|
|
502
502
|
* [tempo.id]: http(),
|
|
503
503
|
* },
|
|
@@ -524,8 +524,8 @@ export declare function getMetadata<config extends Config>(config: config, param
|
|
|
524
524
|
transferPolicyId?: bigint | undefined | undefined;
|
|
525
525
|
}>;
|
|
526
526
|
export declare namespace getMetadata {
|
|
527
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
528
|
-
type ReturnValue =
|
|
527
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.getMetadata.Parameters;
|
|
528
|
+
type ReturnValue = Actions.token.getMetadata.ReturnValue;
|
|
529
529
|
function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getMetadata", Parameters<config>];
|
|
530
530
|
type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
|
|
531
531
|
function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
|
|
@@ -542,11 +542,11 @@ export declare namespace getMetadata {
|
|
|
542
542
|
* @example
|
|
543
543
|
* ```ts
|
|
544
544
|
* import { createConfig, http } from '@wagmi/core'
|
|
545
|
-
* import { tempo } from '
|
|
545
|
+
* import { tempo } from 'viem/chains'
|
|
546
546
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
547
547
|
*
|
|
548
548
|
* const config = createConfig({
|
|
549
|
-
* chains: [
|
|
549
|
+
* chains: [tempoTestnet],
|
|
550
550
|
* transports: {
|
|
551
551
|
* [tempo.id]: http(),
|
|
552
552
|
* },
|
|
@@ -564,8 +564,8 @@ export declare namespace getMetadata {
|
|
|
564
564
|
*/
|
|
565
565
|
export declare function getRoleAdmin<config extends Config>(config: config, parameters: getRoleAdmin.Parameters<config>): Promise<`0x${string}`>;
|
|
566
566
|
export declare namespace getRoleAdmin {
|
|
567
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
568
|
-
type ReturnValue =
|
|
567
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.getRoleAdmin.Parameters;
|
|
568
|
+
type ReturnValue = Actions.token.getRoleAdmin.ReturnValue;
|
|
569
569
|
function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getRoleAdmin", Parameters<config>];
|
|
570
570
|
type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
|
|
571
571
|
function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
|
|
@@ -582,11 +582,11 @@ export declare namespace getRoleAdmin {
|
|
|
582
582
|
* @example
|
|
583
583
|
* ```ts
|
|
584
584
|
* import { createConfig, http } from '@wagmi/core'
|
|
585
|
-
* import { tempo } from '
|
|
585
|
+
* import { tempo } from 'viem/chains'
|
|
586
586
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
587
587
|
*
|
|
588
588
|
* const config = createConfig({
|
|
589
|
-
* chains: [
|
|
589
|
+
* chains: [tempoTestnet],
|
|
590
590
|
* transports: {
|
|
591
591
|
* [tempo.id]: http(),
|
|
592
592
|
* },
|
|
@@ -603,11 +603,11 @@ export declare namespace getRoleAdmin {
|
|
|
603
603
|
* @param parameters - Parameters.
|
|
604
604
|
* @returns Transaction hash.
|
|
605
605
|
*/
|
|
606
|
-
export declare function grantRoles<config extends Config>(config: config, parameters: grantRoles.Parameters<config>): Promise<
|
|
606
|
+
export declare function grantRoles<config extends Config>(config: config, parameters: grantRoles.Parameters<config>): Promise<Actions.token.grantRoles.ReturnValue>;
|
|
607
607
|
export declare namespace grantRoles {
|
|
608
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
609
|
-
type ReturnValue =
|
|
610
|
-
type ErrorType =
|
|
608
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.grantRoles.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
609
|
+
type ReturnValue = Actions.token.grantRoles.ReturnValue;
|
|
610
|
+
type ErrorType = Actions.token.grantRoles.ErrorType;
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
613
|
* Grants a role for a TIP20 token.
|
|
@@ -618,11 +618,11 @@ export declare namespace grantRoles {
|
|
|
618
618
|
* @example
|
|
619
619
|
* ```ts
|
|
620
620
|
* import { createConfig, http } from '@wagmi/core'
|
|
621
|
-
* import { tempo } from '
|
|
621
|
+
* import { tempo } from 'viem/chains'
|
|
622
622
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
623
623
|
*
|
|
624
624
|
* const config = createConfig({
|
|
625
|
-
* chains: [
|
|
625
|
+
* chains: [tempoTestnet],
|
|
626
626
|
* transports: {
|
|
627
627
|
* [tempo.id]: http(),
|
|
628
628
|
* },
|
|
@@ -639,11 +639,11 @@ export declare namespace grantRoles {
|
|
|
639
639
|
* @param parameters - Parameters.
|
|
640
640
|
* @returns The transaction receipt and event data.
|
|
641
641
|
*/
|
|
642
|
-
export declare function grantRolesSync<config extends Config>(config: config, parameters: grantRolesSync.Parameters<config>): Promise<
|
|
642
|
+
export declare function grantRolesSync<config extends Config>(config: config, parameters: grantRolesSync.Parameters<config>): Promise<Actions.token.grantRolesSync.ReturnValue>;
|
|
643
643
|
export declare namespace grantRolesSync {
|
|
644
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
645
|
-
type ReturnValue =
|
|
646
|
-
type ErrorType =
|
|
644
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.grantRolesSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
645
|
+
type ReturnValue = Actions.token.grantRolesSync.ReturnValue;
|
|
646
|
+
type ErrorType = Actions.token.grantRolesSync.ErrorType;
|
|
647
647
|
}
|
|
648
648
|
/**
|
|
649
649
|
* Checks if an account has a specific role for a TIP20 token.
|
|
@@ -651,11 +651,11 @@ export declare namespace grantRolesSync {
|
|
|
651
651
|
* @example
|
|
652
652
|
* ```ts
|
|
653
653
|
* import { createConfig, http } from '@wagmi/core'
|
|
654
|
-
* import { tempo } from '
|
|
654
|
+
* import { tempo } from 'viem/chains'
|
|
655
655
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
656
656
|
*
|
|
657
657
|
* const config = createConfig({
|
|
658
|
-
* chains: [
|
|
658
|
+
* chains: [tempoTestnet],
|
|
659
659
|
* transports: {
|
|
660
660
|
* [tempo.id]: http(),
|
|
661
661
|
* },
|
|
@@ -674,8 +674,8 @@ export declare namespace grantRolesSync {
|
|
|
674
674
|
*/
|
|
675
675
|
export declare function hasRole<config extends Config>(config: config, parameters: hasRole.Parameters<config>): Promise<boolean>;
|
|
676
676
|
export declare namespace hasRole {
|
|
677
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
678
|
-
type ReturnValue =
|
|
677
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.hasRole.Parameters;
|
|
678
|
+
type ReturnValue = Actions.token.hasRole.ReturnValue;
|
|
679
679
|
function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["hasRole", Parameters<config>];
|
|
680
680
|
type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
|
|
681
681
|
function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
|
|
@@ -692,11 +692,11 @@ export declare namespace hasRole {
|
|
|
692
692
|
* @example
|
|
693
693
|
* ```ts
|
|
694
694
|
* import { createConfig, http } from '@wagmi/core'
|
|
695
|
-
* import { tempo } from '
|
|
695
|
+
* import { tempo } from 'viem/chains'
|
|
696
696
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
697
697
|
*
|
|
698
698
|
* const config = createConfig({
|
|
699
|
-
* chains: [
|
|
699
|
+
* chains: [tempoTestnet],
|
|
700
700
|
* transports: {
|
|
701
701
|
* [tempo.id]: http(),
|
|
702
702
|
* },
|
|
@@ -713,11 +713,11 @@ export declare namespace hasRole {
|
|
|
713
713
|
* @param parameters - Parameters.
|
|
714
714
|
* @returns Transaction hash.
|
|
715
715
|
*/
|
|
716
|
-
export declare function mint<config extends Config>(config: config, parameters: mint.Parameters<config>): Promise<
|
|
716
|
+
export declare function mint<config extends Config>(config: config, parameters: mint.Parameters<config>): Promise<Actions.token.mint.ReturnValue>;
|
|
717
717
|
export declare namespace mint {
|
|
718
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
719
|
-
type ReturnValue =
|
|
720
|
-
type ErrorType =
|
|
718
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.mint.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
719
|
+
type ReturnValue = Actions.token.mint.ReturnValue;
|
|
720
|
+
type ErrorType = Actions.token.mint.ErrorType;
|
|
721
721
|
}
|
|
722
722
|
/**
|
|
723
723
|
* Mints TIP20 tokens to an address.
|
|
@@ -728,11 +728,11 @@ export declare namespace mint {
|
|
|
728
728
|
* @example
|
|
729
729
|
* ```ts
|
|
730
730
|
* import { createConfig, http } from '@wagmi/core'
|
|
731
|
-
* import { tempo } from '
|
|
731
|
+
* import { tempo } from 'viem/chains'
|
|
732
732
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
733
733
|
*
|
|
734
734
|
* const config = createConfig({
|
|
735
|
-
* chains: [
|
|
735
|
+
* chains: [tempoTestnet],
|
|
736
736
|
* transports: {
|
|
737
737
|
* [tempo.id]: http(),
|
|
738
738
|
* },
|
|
@@ -749,11 +749,11 @@ export declare namespace mint {
|
|
|
749
749
|
* @param parameters - Parameters.
|
|
750
750
|
* @returns The transaction receipt and event data.
|
|
751
751
|
*/
|
|
752
|
-
export declare function mintSync<config extends Config>(config: config, parameters: mintSync.Parameters<config>): Promise<
|
|
752
|
+
export declare function mintSync<config extends Config>(config: config, parameters: mintSync.Parameters<config>): Promise<Actions.token.mintSync.ReturnValue>;
|
|
753
753
|
export declare namespace mintSync {
|
|
754
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
755
|
-
type ReturnValue =
|
|
756
|
-
type ErrorType =
|
|
754
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.mintSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
755
|
+
type ReturnValue = Actions.token.mintSync.ReturnValue;
|
|
756
|
+
type ErrorType = Actions.token.mintSync.ErrorType;
|
|
757
757
|
}
|
|
758
758
|
/**
|
|
759
759
|
* Pauses a TIP20 token.
|
|
@@ -761,11 +761,11 @@ export declare namespace mintSync {
|
|
|
761
761
|
* @example
|
|
762
762
|
* ```ts
|
|
763
763
|
* import { createConfig, http } from '@wagmi/core'
|
|
764
|
-
* import { tempo } from '
|
|
764
|
+
* import { tempo } from 'viem/chains'
|
|
765
765
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
766
766
|
*
|
|
767
767
|
* const config = createConfig({
|
|
768
|
-
* chains: [
|
|
768
|
+
* chains: [tempoTestnet],
|
|
769
769
|
* transports: {
|
|
770
770
|
* [tempo.id]: http(),
|
|
771
771
|
* },
|
|
@@ -780,11 +780,11 @@ export declare namespace mintSync {
|
|
|
780
780
|
* @param parameters - Parameters.
|
|
781
781
|
* @returns Transaction hash.
|
|
782
782
|
*/
|
|
783
|
-
export declare function pause<config extends Config>(config: config, parameters: pause.Parameters<config>): Promise<
|
|
783
|
+
export declare function pause<config extends Config>(config: config, parameters: pause.Parameters<config>): Promise<Actions.token.pause.ReturnValue>;
|
|
784
784
|
export declare namespace pause {
|
|
785
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
786
|
-
type ReturnValue =
|
|
787
|
-
type ErrorType =
|
|
785
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.pause.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
786
|
+
type ReturnValue = Actions.token.pause.ReturnValue;
|
|
787
|
+
type ErrorType = Actions.token.pause.ErrorType;
|
|
788
788
|
}
|
|
789
789
|
/**
|
|
790
790
|
* Pauses a TIP20 token.
|
|
@@ -795,11 +795,11 @@ export declare namespace pause {
|
|
|
795
795
|
* @example
|
|
796
796
|
* ```ts
|
|
797
797
|
* import { createConfig, http } from '@wagmi/core'
|
|
798
|
-
* import { tempo } from '
|
|
798
|
+
* import { tempo } from 'viem/chains'
|
|
799
799
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
800
800
|
*
|
|
801
801
|
* const config = createConfig({
|
|
802
|
-
* chains: [
|
|
802
|
+
* chains: [tempoTestnet],
|
|
803
803
|
* transports: {
|
|
804
804
|
* [tempo.id]: http(),
|
|
805
805
|
* },
|
|
@@ -814,11 +814,11 @@ export declare namespace pause {
|
|
|
814
814
|
* @param parameters - Parameters.
|
|
815
815
|
* @returns The transaction receipt and event data.
|
|
816
816
|
*/
|
|
817
|
-
export declare function pauseSync<config extends Config>(config: config, parameters: pauseSync.Parameters<config>): Promise<
|
|
817
|
+
export declare function pauseSync<config extends Config>(config: config, parameters: pauseSync.Parameters<config>): Promise<Actions.token.pauseSync.ReturnValue>;
|
|
818
818
|
export declare namespace pauseSync {
|
|
819
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
820
|
-
type ReturnValue =
|
|
821
|
-
type ErrorType =
|
|
819
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.pauseSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
820
|
+
type ReturnValue = Actions.token.pauseSync.ReturnValue;
|
|
821
|
+
type ErrorType = Actions.token.pauseSync.ErrorType;
|
|
822
822
|
}
|
|
823
823
|
/**
|
|
824
824
|
* Renounces a role for a TIP20 token.
|
|
@@ -826,11 +826,11 @@ export declare namespace pauseSync {
|
|
|
826
826
|
* @example
|
|
827
827
|
* ```ts
|
|
828
828
|
* import { createConfig, http } from '@wagmi/core'
|
|
829
|
-
* import { tempo } from '
|
|
829
|
+
* import { tempo } from 'viem/chains'
|
|
830
830
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
831
831
|
*
|
|
832
832
|
* const config = createConfig({
|
|
833
|
-
* chains: [
|
|
833
|
+
* chains: [tempoTestnet],
|
|
834
834
|
* transports: {
|
|
835
835
|
* [tempo.id]: http(),
|
|
836
836
|
* },
|
|
@@ -846,11 +846,11 @@ export declare namespace pauseSync {
|
|
|
846
846
|
* @param parameters - Parameters.
|
|
847
847
|
* @returns Transaction hash.
|
|
848
848
|
*/
|
|
849
|
-
export declare function renounceRoles<config extends Config>(config: config, parameters: renounceRoles.Parameters<config>): Promise<
|
|
849
|
+
export declare function renounceRoles<config extends Config>(config: config, parameters: renounceRoles.Parameters<config>): Promise<Actions.token.renounceRoles.ReturnValue>;
|
|
850
850
|
export declare namespace renounceRoles {
|
|
851
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
852
|
-
type ReturnValue =
|
|
853
|
-
type ErrorType =
|
|
851
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.renounceRoles.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
852
|
+
type ReturnValue = Actions.token.renounceRoles.ReturnValue;
|
|
853
|
+
type ErrorType = Actions.token.renounceRoles.ErrorType;
|
|
854
854
|
}
|
|
855
855
|
/**
|
|
856
856
|
* Renounces a role for a TIP20 token.
|
|
@@ -861,11 +861,11 @@ export declare namespace renounceRoles {
|
|
|
861
861
|
* @example
|
|
862
862
|
* ```ts
|
|
863
863
|
* import { createConfig, http } from '@wagmi/core'
|
|
864
|
-
* import { tempo } from '
|
|
864
|
+
* import { tempo } from 'viem/chains'
|
|
865
865
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
866
866
|
*
|
|
867
867
|
* const config = createConfig({
|
|
868
|
-
* chains: [
|
|
868
|
+
* chains: [tempoTestnet],
|
|
869
869
|
* transports: {
|
|
870
870
|
* [tempo.id]: http(),
|
|
871
871
|
* },
|
|
@@ -881,11 +881,11 @@ export declare namespace renounceRoles {
|
|
|
881
881
|
* @param parameters - Parameters.
|
|
882
882
|
* @returns The transaction receipt and event data.
|
|
883
883
|
*/
|
|
884
|
-
export declare function renounceRolesSync<config extends Config>(config: config, parameters: renounceRolesSync.Parameters<config>): Promise<
|
|
884
|
+
export declare function renounceRolesSync<config extends Config>(config: config, parameters: renounceRolesSync.Parameters<config>): Promise<Actions.token.renounceRolesSync.ReturnValue>;
|
|
885
885
|
export declare namespace renounceRolesSync {
|
|
886
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
887
|
-
type ReturnValue =
|
|
888
|
-
type ErrorType =
|
|
886
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.renounceRolesSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
887
|
+
type ReturnValue = Actions.token.renounceRolesSync.ReturnValue;
|
|
888
|
+
type ErrorType = Actions.token.renounceRolesSync.ErrorType;
|
|
889
889
|
}
|
|
890
890
|
/**
|
|
891
891
|
* Revokes a role for a TIP20 token.
|
|
@@ -893,11 +893,11 @@ export declare namespace renounceRolesSync {
|
|
|
893
893
|
* @example
|
|
894
894
|
* ```ts
|
|
895
895
|
* import { createConfig, http } from '@wagmi/core'
|
|
896
|
-
* import { tempo } from '
|
|
896
|
+
* import { tempo } from 'viem/chains'
|
|
897
897
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
898
898
|
*
|
|
899
899
|
* const config = createConfig({
|
|
900
|
-
* chains: [
|
|
900
|
+
* chains: [tempoTestnet],
|
|
901
901
|
* transports: {
|
|
902
902
|
* [tempo.id]: http(),
|
|
903
903
|
* },
|
|
@@ -914,11 +914,11 @@ export declare namespace renounceRolesSync {
|
|
|
914
914
|
* @param parameters - Parameters.
|
|
915
915
|
* @returns Transaction hash.
|
|
916
916
|
*/
|
|
917
|
-
export declare function revokeRoles<config extends Config>(config: config, parameters: revokeRoles.Parameters<config>): Promise<
|
|
917
|
+
export declare function revokeRoles<config extends Config>(config: config, parameters: revokeRoles.Parameters<config>): Promise<Actions.token.revokeRoles.ReturnValue>;
|
|
918
918
|
export declare namespace revokeRoles {
|
|
919
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
920
|
-
type ReturnValue =
|
|
921
|
-
type ErrorType =
|
|
919
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.revokeRoles.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
920
|
+
type ReturnValue = Actions.token.revokeRoles.ReturnValue;
|
|
921
|
+
type ErrorType = Actions.token.revokeRoles.ErrorType;
|
|
922
922
|
}
|
|
923
923
|
/**
|
|
924
924
|
* Revokes a role for a TIP20 token.
|
|
@@ -929,11 +929,11 @@ export declare namespace revokeRoles {
|
|
|
929
929
|
* @example
|
|
930
930
|
* ```ts
|
|
931
931
|
* import { createConfig, http } from '@wagmi/core'
|
|
932
|
-
* import { tempo } from '
|
|
932
|
+
* import { tempo } from 'viem/chains'
|
|
933
933
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
934
934
|
*
|
|
935
935
|
* const config = createConfig({
|
|
936
|
-
* chains: [
|
|
936
|
+
* chains: [tempoTestnet],
|
|
937
937
|
* transports: {
|
|
938
938
|
* [tempo.id]: http(),
|
|
939
939
|
* },
|
|
@@ -950,11 +950,11 @@ export declare namespace revokeRoles {
|
|
|
950
950
|
* @param parameters - Parameters.
|
|
951
951
|
* @returns The transaction receipt and event data.
|
|
952
952
|
*/
|
|
953
|
-
export declare function revokeRolesSync<config extends Config>(config: config, parameters: revokeRolesSync.Parameters<config>): Promise<
|
|
953
|
+
export declare function revokeRolesSync<config extends Config>(config: config, parameters: revokeRolesSync.Parameters<config>): Promise<Actions.token.revokeRolesSync.ReturnValue>;
|
|
954
954
|
export declare namespace revokeRolesSync {
|
|
955
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
956
|
-
type ReturnValue =
|
|
957
|
-
type ErrorType =
|
|
955
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.revokeRolesSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
956
|
+
type ReturnValue = Actions.token.revokeRolesSync.ReturnValue;
|
|
957
|
+
type ErrorType = Actions.token.revokeRolesSync.ErrorType;
|
|
958
958
|
}
|
|
959
959
|
/**
|
|
960
960
|
* Sets the admin role for a specific role in a TIP20 token.
|
|
@@ -962,11 +962,11 @@ export declare namespace revokeRolesSync {
|
|
|
962
962
|
* @example
|
|
963
963
|
* ```ts
|
|
964
964
|
* import { createConfig, http } from '@wagmi/core'
|
|
965
|
-
* import { tempo } from '
|
|
965
|
+
* import { tempo } from 'viem/chains'
|
|
966
966
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
967
967
|
*
|
|
968
968
|
* const config = createConfig({
|
|
969
|
-
* chains: [
|
|
969
|
+
* chains: [tempoTestnet],
|
|
970
970
|
* transports: {
|
|
971
971
|
* [tempo.id]: http(),
|
|
972
972
|
* },
|
|
@@ -983,11 +983,11 @@ export declare namespace revokeRolesSync {
|
|
|
983
983
|
* @param parameters - Parameters.
|
|
984
984
|
* @returns Transaction hash.
|
|
985
985
|
*/
|
|
986
|
-
export declare function setRoleAdmin<config extends Config>(config: config, parameters: setRoleAdmin.Parameters<config>): Promise<
|
|
986
|
+
export declare function setRoleAdmin<config extends Config>(config: config, parameters: setRoleAdmin.Parameters<config>): Promise<Actions.token.setRoleAdmin.ReturnValue>;
|
|
987
987
|
export declare namespace setRoleAdmin {
|
|
988
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
989
|
-
type ReturnValue =
|
|
990
|
-
type ErrorType =
|
|
988
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.setRoleAdmin.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
989
|
+
type ReturnValue = Actions.token.setRoleAdmin.ReturnValue;
|
|
990
|
+
type ErrorType = Actions.token.setRoleAdmin.ErrorType;
|
|
991
991
|
}
|
|
992
992
|
/**
|
|
993
993
|
* Sets the admin role for a specific role in a TIP20 token.
|
|
@@ -998,11 +998,11 @@ export declare namespace setRoleAdmin {
|
|
|
998
998
|
* @example
|
|
999
999
|
* ```ts
|
|
1000
1000
|
* import { createConfig, http } from '@wagmi/core'
|
|
1001
|
-
* import { tempo } from '
|
|
1001
|
+
* import { tempo } from 'viem/chains'
|
|
1002
1002
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1003
1003
|
*
|
|
1004
1004
|
* const config = createConfig({
|
|
1005
|
-
* chains: [
|
|
1005
|
+
* chains: [tempoTestnet],
|
|
1006
1006
|
* transports: {
|
|
1007
1007
|
* [tempo.id]: http(),
|
|
1008
1008
|
* },
|
|
@@ -1019,11 +1019,11 @@ export declare namespace setRoleAdmin {
|
|
|
1019
1019
|
* @param parameters - Parameters.
|
|
1020
1020
|
* @returns The transaction receipt and event data.
|
|
1021
1021
|
*/
|
|
1022
|
-
export declare function setRoleAdminSync<config extends Config>(config: config, parameters: setRoleAdminSync.Parameters<config>): Promise<
|
|
1022
|
+
export declare function setRoleAdminSync<config extends Config>(config: config, parameters: setRoleAdminSync.Parameters<config>): Promise<Actions.token.setRoleAdminSync.ReturnValue>;
|
|
1023
1023
|
export declare namespace setRoleAdminSync {
|
|
1024
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
1025
|
-
type ReturnValue =
|
|
1026
|
-
type ErrorType =
|
|
1024
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.setRoleAdminSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
1025
|
+
type ReturnValue = Actions.token.setRoleAdminSync.ReturnValue;
|
|
1026
|
+
type ErrorType = Actions.token.setRoleAdminSync.ErrorType;
|
|
1027
1027
|
}
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Sets the supply cap for a TIP20 token.
|
|
@@ -1031,11 +1031,11 @@ export declare namespace setRoleAdminSync {
|
|
|
1031
1031
|
* @example
|
|
1032
1032
|
* ```ts
|
|
1033
1033
|
* import { createConfig, http } from '@wagmi/core'
|
|
1034
|
-
* import { tempo } from '
|
|
1034
|
+
* import { tempo } from 'viem/chains'
|
|
1035
1035
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1036
1036
|
*
|
|
1037
1037
|
* const config = createConfig({
|
|
1038
|
-
* chains: [
|
|
1038
|
+
* chains: [tempoTestnet],
|
|
1039
1039
|
* transports: {
|
|
1040
1040
|
* [tempo.id]: http(),
|
|
1041
1041
|
* },
|
|
@@ -1051,11 +1051,11 @@ export declare namespace setRoleAdminSync {
|
|
|
1051
1051
|
* @param parameters - Parameters.
|
|
1052
1052
|
* @returns Transaction hash.
|
|
1053
1053
|
*/
|
|
1054
|
-
export declare function setSupplyCap<config extends Config>(config: config, parameters: setSupplyCap.Parameters<config>): Promise<
|
|
1054
|
+
export declare function setSupplyCap<config extends Config>(config: config, parameters: setSupplyCap.Parameters<config>): Promise<Actions.token.setSupplyCap.ReturnValue>;
|
|
1055
1055
|
export declare namespace setSupplyCap {
|
|
1056
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
1057
|
-
type ReturnValue =
|
|
1058
|
-
type ErrorType =
|
|
1056
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.setSupplyCap.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
1057
|
+
type ReturnValue = Actions.token.setSupplyCap.ReturnValue;
|
|
1058
|
+
type ErrorType = Actions.token.setSupplyCap.ErrorType;
|
|
1059
1059
|
}
|
|
1060
1060
|
/**
|
|
1061
1061
|
* Sets the supply cap for a TIP20 token.
|
|
@@ -1066,11 +1066,11 @@ export declare namespace setSupplyCap {
|
|
|
1066
1066
|
* @example
|
|
1067
1067
|
* ```ts
|
|
1068
1068
|
* import { createConfig, http } from '@wagmi/core'
|
|
1069
|
-
* import { tempo } from '
|
|
1069
|
+
* import { tempo } from 'viem/chains'
|
|
1070
1070
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1071
1071
|
*
|
|
1072
1072
|
* const config = createConfig({
|
|
1073
|
-
* chains: [
|
|
1073
|
+
* chains: [tempoTestnet],
|
|
1074
1074
|
* transports: {
|
|
1075
1075
|
* [tempo.id]: http(),
|
|
1076
1076
|
* },
|
|
@@ -1086,11 +1086,11 @@ export declare namespace setSupplyCap {
|
|
|
1086
1086
|
* @param parameters - Parameters.
|
|
1087
1087
|
* @returns The transaction receipt and event data.
|
|
1088
1088
|
*/
|
|
1089
|
-
export declare function setSupplyCapSync<config extends Config>(config: config, parameters: setSupplyCapSync.Parameters<config>): Promise<
|
|
1089
|
+
export declare function setSupplyCapSync<config extends Config>(config: config, parameters: setSupplyCapSync.Parameters<config>): Promise<Actions.token.setSupplyCapSync.ReturnValue>;
|
|
1090
1090
|
export declare namespace setSupplyCapSync {
|
|
1091
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
1092
|
-
type ReturnValue =
|
|
1093
|
-
type ErrorType =
|
|
1091
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.setSupplyCapSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
1092
|
+
type ReturnValue = Actions.token.setSupplyCapSync.ReturnValue;
|
|
1093
|
+
type ErrorType = Actions.token.setSupplyCapSync.ErrorType;
|
|
1094
1094
|
}
|
|
1095
1095
|
/**
|
|
1096
1096
|
* Transfers TIP20 tokens to another address.
|
|
@@ -1098,11 +1098,11 @@ export declare namespace setSupplyCapSync {
|
|
|
1098
1098
|
* @example
|
|
1099
1099
|
* ```ts
|
|
1100
1100
|
* import { createConfig, http } from '@wagmi/core'
|
|
1101
|
-
* import { tempo } from '
|
|
1101
|
+
* import { tempo } from 'viem/chains'
|
|
1102
1102
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1103
1103
|
*
|
|
1104
1104
|
* const config = createConfig({
|
|
1105
|
-
* chains: [
|
|
1105
|
+
* chains: [tempoTestnet],
|
|
1106
1106
|
* transports: {
|
|
1107
1107
|
* [tempo.id]: http(),
|
|
1108
1108
|
* },
|
|
@@ -1118,11 +1118,11 @@ export declare namespace setSupplyCapSync {
|
|
|
1118
1118
|
* @param parameters - Parameters.
|
|
1119
1119
|
* @returns Transaction hash.
|
|
1120
1120
|
*/
|
|
1121
|
-
export declare function transfer<config extends Config>(config: config, parameters: transfer.Parameters<config>): Promise<
|
|
1121
|
+
export declare function transfer<config extends Config>(config: config, parameters: transfer.Parameters<config>): Promise<Actions.token.transfer.ReturnValue>;
|
|
1122
1122
|
export declare namespace transfer {
|
|
1123
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
1124
|
-
type ReturnValue =
|
|
1125
|
-
type ErrorType =
|
|
1123
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.transfer.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
1124
|
+
type ReturnValue = Actions.token.transfer.ReturnValue;
|
|
1125
|
+
type ErrorType = Actions.token.transfer.ErrorType;
|
|
1126
1126
|
}
|
|
1127
1127
|
/**
|
|
1128
1128
|
* Transfers TIP20 tokens to another address.
|
|
@@ -1133,11 +1133,11 @@ export declare namespace transfer {
|
|
|
1133
1133
|
* @example
|
|
1134
1134
|
* ```ts
|
|
1135
1135
|
* import { createConfig, http } from '@wagmi/core'
|
|
1136
|
-
* import { tempo } from '
|
|
1136
|
+
* import { tempo } from 'viem/chains'
|
|
1137
1137
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1138
1138
|
*
|
|
1139
1139
|
* const config = createConfig({
|
|
1140
|
-
* chains: [
|
|
1140
|
+
* chains: [tempoTestnet],
|
|
1141
1141
|
* transports: {
|
|
1142
1142
|
* [tempo.id]: http(),
|
|
1143
1143
|
* },
|
|
@@ -1153,11 +1153,11 @@ export declare namespace transfer {
|
|
|
1153
1153
|
* @param parameters - Parameters.
|
|
1154
1154
|
* @returns The transaction receipt and event data.
|
|
1155
1155
|
*/
|
|
1156
|
-
export declare function transferSync<config extends Config>(config: config, parameters: transferSync.Parameters<config>): Promise<
|
|
1156
|
+
export declare function transferSync<config extends Config>(config: config, parameters: transferSync.Parameters<config>): Promise<Actions.token.transferSync.ReturnValue>;
|
|
1157
1157
|
export declare namespace transferSync {
|
|
1158
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
1159
|
-
type ReturnValue =
|
|
1160
|
-
type ErrorType =
|
|
1158
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.transferSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
1159
|
+
type ReturnValue = Actions.token.transferSync.ReturnValue;
|
|
1160
|
+
type ErrorType = Actions.token.transferSync.ErrorType;
|
|
1161
1161
|
}
|
|
1162
1162
|
/**
|
|
1163
1163
|
* Unpauses a TIP20 token.
|
|
@@ -1165,11 +1165,11 @@ export declare namespace transferSync {
|
|
|
1165
1165
|
* @example
|
|
1166
1166
|
* ```ts
|
|
1167
1167
|
* import { createConfig, http } from '@wagmi/core'
|
|
1168
|
-
* import { tempo } from '
|
|
1168
|
+
* import { tempo } from 'viem/chains'
|
|
1169
1169
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1170
1170
|
*
|
|
1171
1171
|
* const config = createConfig({
|
|
1172
|
-
* chains: [
|
|
1172
|
+
* chains: [tempoTestnet],
|
|
1173
1173
|
* transports: {
|
|
1174
1174
|
* [tempo.id]: http(),
|
|
1175
1175
|
* },
|
|
@@ -1184,11 +1184,11 @@ export declare namespace transferSync {
|
|
|
1184
1184
|
* @param parameters - Parameters.
|
|
1185
1185
|
* @returns Transaction hash.
|
|
1186
1186
|
*/
|
|
1187
|
-
export declare function unpause<config extends Config>(config: config, parameters: unpause.Parameters<config>): Promise<
|
|
1187
|
+
export declare function unpause<config extends Config>(config: config, parameters: unpause.Parameters<config>): Promise<Actions.token.unpause.ReturnValue>;
|
|
1188
1188
|
export declare namespace unpause {
|
|
1189
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
1190
|
-
type ReturnValue =
|
|
1191
|
-
type ErrorType =
|
|
1189
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.unpause.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
1190
|
+
type ReturnValue = Actions.token.unpause.ReturnValue;
|
|
1191
|
+
type ErrorType = Actions.token.unpause.ErrorType;
|
|
1192
1192
|
}
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Unpauses a TIP20 token.
|
|
@@ -1199,11 +1199,11 @@ export declare namespace unpause {
|
|
|
1199
1199
|
* @example
|
|
1200
1200
|
* ```ts
|
|
1201
1201
|
* import { createConfig, http } from '@wagmi/core'
|
|
1202
|
-
* import { tempo } from '
|
|
1202
|
+
* import { tempo } from 'viem/chains'
|
|
1203
1203
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1204
1204
|
*
|
|
1205
1205
|
* const config = createConfig({
|
|
1206
|
-
* chains: [
|
|
1206
|
+
* chains: [tempoTestnet],
|
|
1207
1207
|
* transports: {
|
|
1208
1208
|
* [tempo.id]: http(),
|
|
1209
1209
|
* },
|
|
@@ -1218,11 +1218,11 @@ export declare namespace unpause {
|
|
|
1218
1218
|
* @param parameters - Parameters.
|
|
1219
1219
|
* @returns The transaction receipt and event data.
|
|
1220
1220
|
*/
|
|
1221
|
-
export declare function unpauseSync<config extends Config>(config: config, parameters: unpauseSync.Parameters<config>): Promise<
|
|
1221
|
+
export declare function unpauseSync<config extends Config>(config: config, parameters: unpauseSync.Parameters<config>): Promise<Actions.token.unpauseSync.ReturnValue>;
|
|
1222
1222
|
export declare namespace unpauseSync {
|
|
1223
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
1224
|
-
type ReturnValue =
|
|
1225
|
-
type ErrorType =
|
|
1223
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.unpauseSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
1224
|
+
type ReturnValue = Actions.token.unpauseSync.ReturnValue;
|
|
1225
|
+
type ErrorType = Actions.token.unpauseSync.ErrorType;
|
|
1226
1226
|
}
|
|
1227
1227
|
/**
|
|
1228
1228
|
* Prepares the quote token update for a TIP20 token.
|
|
@@ -1230,11 +1230,11 @@ export declare namespace unpauseSync {
|
|
|
1230
1230
|
* @example
|
|
1231
1231
|
* ```ts
|
|
1232
1232
|
* import { createConfig, http } from '@wagmi/core'
|
|
1233
|
-
* import { tempo } from '
|
|
1233
|
+
* import { tempo } from 'viem/chains'
|
|
1234
1234
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1235
1235
|
*
|
|
1236
1236
|
* const config = createConfig({
|
|
1237
|
-
* chains: [
|
|
1237
|
+
* chains: [tempoTestnet],
|
|
1238
1238
|
* transports: {
|
|
1239
1239
|
* [tempo.id]: http(),
|
|
1240
1240
|
* },
|
|
@@ -1250,11 +1250,11 @@ export declare namespace unpauseSync {
|
|
|
1250
1250
|
* @param parameters - Parameters.
|
|
1251
1251
|
* @returns Transaction hash.
|
|
1252
1252
|
*/
|
|
1253
|
-
export declare function prepareUpdateQuoteToken<config extends Config>(config: config, parameters: prepareUpdateQuoteToken.Parameters<config>): Promise<
|
|
1253
|
+
export declare function prepareUpdateQuoteToken<config extends Config>(config: config, parameters: prepareUpdateQuoteToken.Parameters<config>): Promise<Actions.token.prepareUpdateQuoteToken.ReturnValue>;
|
|
1254
1254
|
export declare namespace prepareUpdateQuoteToken {
|
|
1255
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
1256
|
-
type ReturnValue =
|
|
1257
|
-
type ErrorType =
|
|
1255
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.prepareUpdateQuoteToken.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
1256
|
+
type ReturnValue = Actions.token.prepareUpdateQuoteToken.ReturnValue;
|
|
1257
|
+
type ErrorType = Actions.token.prepareUpdateQuoteToken.ErrorType;
|
|
1258
1258
|
}
|
|
1259
1259
|
/**
|
|
1260
1260
|
* Prepares the quote token update for a TIP20 token.
|
|
@@ -1265,11 +1265,11 @@ export declare namespace prepareUpdateQuoteToken {
|
|
|
1265
1265
|
* @example
|
|
1266
1266
|
* ```ts
|
|
1267
1267
|
* import { createConfig, http } from '@wagmi/core'
|
|
1268
|
-
* import { tempo } from '
|
|
1268
|
+
* import { tempo } from 'viem/chains'
|
|
1269
1269
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1270
1270
|
*
|
|
1271
1271
|
* const config = createConfig({
|
|
1272
|
-
* chains: [
|
|
1272
|
+
* chains: [tempoTestnet],
|
|
1273
1273
|
* transports: {
|
|
1274
1274
|
* [tempo.id]: http(),
|
|
1275
1275
|
* },
|
|
@@ -1285,11 +1285,11 @@ export declare namespace prepareUpdateQuoteToken {
|
|
|
1285
1285
|
* @param parameters - Parameters.
|
|
1286
1286
|
* @returns The transaction receipt and event data.
|
|
1287
1287
|
*/
|
|
1288
|
-
export declare function prepareUpdateQuoteTokenSync<config extends Config>(config: config, parameters: prepareUpdateQuoteTokenSync.Parameters<config>): Promise<
|
|
1288
|
+
export declare function prepareUpdateQuoteTokenSync<config extends Config>(config: config, parameters: prepareUpdateQuoteTokenSync.Parameters<config>): Promise<Actions.token.prepareUpdateQuoteTokenSync.ReturnValue>;
|
|
1289
1289
|
export declare namespace prepareUpdateQuoteTokenSync {
|
|
1290
|
-
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<
|
|
1291
|
-
type ReturnValue =
|
|
1292
|
-
type ErrorType =
|
|
1290
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.token.prepareUpdateQuoteTokenSync.Parameters<config['chains'][number], Account>, 'chain'>;
|
|
1291
|
+
type ReturnValue = Actions.token.prepareUpdateQuoteTokenSync.ReturnValue;
|
|
1292
|
+
type ErrorType = Actions.token.prepareUpdateQuoteTokenSync.ErrorType;
|
|
1293
1293
|
}
|
|
1294
1294
|
/**
|
|
1295
1295
|
* Watches for TIP20 token role admin updates.
|
|
@@ -1297,11 +1297,11 @@ export declare namespace prepareUpdateQuoteTokenSync {
|
|
|
1297
1297
|
* @example
|
|
1298
1298
|
* ```ts
|
|
1299
1299
|
* import { createConfig, http } from '@wagmi/core'
|
|
1300
|
-
* import { tempo } from '
|
|
1300
|
+
* import { tempo } from 'viem/chains'
|
|
1301
1301
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1302
1302
|
*
|
|
1303
1303
|
* const config = createConfig({
|
|
1304
|
-
* chains: [
|
|
1304
|
+
* chains: [tempoTestnet],
|
|
1305
1305
|
* transports: {
|
|
1306
1306
|
* [tempo.id]: http(),
|
|
1307
1307
|
* },
|
|
@@ -1320,7 +1320,7 @@ export declare namespace prepareUpdateQuoteTokenSync {
|
|
|
1320
1320
|
*/
|
|
1321
1321
|
export declare function watchAdminRole<config extends Config>(config: config, parameters: watchAdminRole.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
1322
1322
|
export declare namespace watchAdminRole {
|
|
1323
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1323
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchAdminRole.Parameters;
|
|
1324
1324
|
}
|
|
1325
1325
|
/**
|
|
1326
1326
|
* Watches for TIP20 token approval events.
|
|
@@ -1328,11 +1328,11 @@ export declare namespace watchAdminRole {
|
|
|
1328
1328
|
* @example
|
|
1329
1329
|
* ```ts
|
|
1330
1330
|
* import { createConfig, http } from '@wagmi/core'
|
|
1331
|
-
* import { tempo } from '
|
|
1331
|
+
* import { tempo } from 'viem/chains'
|
|
1332
1332
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1333
1333
|
*
|
|
1334
1334
|
* const config = createConfig({
|
|
1335
|
-
* chains: [
|
|
1335
|
+
* chains: [tempoTestnet],
|
|
1336
1336
|
* transports: {
|
|
1337
1337
|
* [tempo.id]: http(),
|
|
1338
1338
|
* },
|
|
@@ -1351,7 +1351,7 @@ export declare namespace watchAdminRole {
|
|
|
1351
1351
|
*/
|
|
1352
1352
|
export declare function watchApprove<config extends Config>(config: config, parameters: watchApprove.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
1353
1353
|
export declare namespace watchApprove {
|
|
1354
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1354
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchApprove.Parameters;
|
|
1355
1355
|
}
|
|
1356
1356
|
/**
|
|
1357
1357
|
* Watches for TIP20 token burn events.
|
|
@@ -1359,11 +1359,11 @@ export declare namespace watchApprove {
|
|
|
1359
1359
|
* @example
|
|
1360
1360
|
* ```ts
|
|
1361
1361
|
* import { createConfig, http } from '@wagmi/core'
|
|
1362
|
-
* import { tempo } from '
|
|
1362
|
+
* import { tempo } from 'viem/chains'
|
|
1363
1363
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1364
1364
|
*
|
|
1365
1365
|
* const config = createConfig({
|
|
1366
|
-
* chains: [
|
|
1366
|
+
* chains: [tempoTestnet],
|
|
1367
1367
|
* transports: {
|
|
1368
1368
|
* [tempo.id]: http(),
|
|
1369
1369
|
* },
|
|
@@ -1382,7 +1382,7 @@ export declare namespace watchApprove {
|
|
|
1382
1382
|
*/
|
|
1383
1383
|
export declare function watchBurn<config extends Config>(config: config, parameters: watchBurn.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
1384
1384
|
export declare namespace watchBurn {
|
|
1385
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1385
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchBurn.Parameters;
|
|
1386
1386
|
}
|
|
1387
1387
|
/**
|
|
1388
1388
|
* Watches for new TIP20 tokens created.
|
|
@@ -1390,11 +1390,11 @@ export declare namespace watchBurn {
|
|
|
1390
1390
|
* @example
|
|
1391
1391
|
* ```ts
|
|
1392
1392
|
* import { createConfig, http } from '@wagmi/core'
|
|
1393
|
-
* import { tempo } from '
|
|
1393
|
+
* import { tempo } from 'viem/chains'
|
|
1394
1394
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1395
1395
|
*
|
|
1396
1396
|
* const config = createConfig({
|
|
1397
|
-
* chains: [
|
|
1397
|
+
* chains: [tempoTestnet],
|
|
1398
1398
|
* transports: {
|
|
1399
1399
|
* [tempo.id]: http(),
|
|
1400
1400
|
* },
|
|
@@ -1413,7 +1413,7 @@ export declare namespace watchBurn {
|
|
|
1413
1413
|
*/
|
|
1414
1414
|
export declare function watchCreate<config extends Config>(config: config, parameters: watchCreate.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
1415
1415
|
export declare namespace watchCreate {
|
|
1416
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1416
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchCreate.Parameters;
|
|
1417
1417
|
}
|
|
1418
1418
|
/**
|
|
1419
1419
|
* Watches for TIP20 token mint events.
|
|
@@ -1421,11 +1421,11 @@ export declare namespace watchCreate {
|
|
|
1421
1421
|
* @example
|
|
1422
1422
|
* ```ts
|
|
1423
1423
|
* import { createConfig, http } from '@wagmi/core'
|
|
1424
|
-
* import { tempo } from '
|
|
1424
|
+
* import { tempo } from 'viem/chains'
|
|
1425
1425
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1426
1426
|
*
|
|
1427
1427
|
* const config = createConfig({
|
|
1428
|
-
* chains: [
|
|
1428
|
+
* chains: [tempoTestnet],
|
|
1429
1429
|
* transports: {
|
|
1430
1430
|
* [tempo.id]: http(),
|
|
1431
1431
|
* },
|
|
@@ -1444,8 +1444,8 @@ export declare namespace watchCreate {
|
|
|
1444
1444
|
*/
|
|
1445
1445
|
export declare function watchMint<config extends Config>(config: config, parameters: watchMint.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
1446
1446
|
export declare namespace watchMint {
|
|
1447
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1448
|
-
type ReturnValue =
|
|
1447
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchMint.Parameters;
|
|
1448
|
+
type ReturnValue = Actions.token.watchMint.ReturnValue;
|
|
1449
1449
|
}
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Watches for TIP20 token role membership updates.
|
|
@@ -1453,11 +1453,11 @@ export declare namespace watchMint {
|
|
|
1453
1453
|
* @example
|
|
1454
1454
|
* ```ts
|
|
1455
1455
|
* import { createConfig, http } from '@wagmi/core'
|
|
1456
|
-
* import { tempo } from '
|
|
1456
|
+
* import { tempo } from 'viem/chains'
|
|
1457
1457
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1458
1458
|
*
|
|
1459
1459
|
* const config = createConfig({
|
|
1460
|
-
* chains: [
|
|
1460
|
+
* chains: [tempoTestnet],
|
|
1461
1461
|
* transports: {
|
|
1462
1462
|
* [tempo.id]: http(),
|
|
1463
1463
|
* },
|
|
@@ -1476,7 +1476,7 @@ export declare namespace watchMint {
|
|
|
1476
1476
|
*/
|
|
1477
1477
|
export declare function watchRole<config extends Config>(config: config, parameters: watchRole.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
1478
1478
|
export declare namespace watchRole {
|
|
1479
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1479
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchRole.Parameters;
|
|
1480
1480
|
}
|
|
1481
1481
|
/**
|
|
1482
1482
|
* Watches for TIP20 token transfer events.
|
|
@@ -1484,11 +1484,11 @@ export declare namespace watchRole {
|
|
|
1484
1484
|
* @example
|
|
1485
1485
|
* ```ts
|
|
1486
1486
|
* import { createConfig, http } from '@wagmi/core'
|
|
1487
|
-
* import { tempo } from '
|
|
1487
|
+
* import { tempo } from 'viem/chains'
|
|
1488
1488
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1489
1489
|
*
|
|
1490
1490
|
* const config = createConfig({
|
|
1491
|
-
* chains: [
|
|
1491
|
+
* chains: [tempoTestnet],
|
|
1492
1492
|
* transports: {
|
|
1493
1493
|
* [tempo.id]: http(),
|
|
1494
1494
|
* },
|
|
@@ -1507,7 +1507,7 @@ export declare namespace watchRole {
|
|
|
1507
1507
|
*/
|
|
1508
1508
|
export declare function watchTransfer<config extends Config>(config: config, parameters: watchTransfer.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
1509
1509
|
export declare namespace watchTransfer {
|
|
1510
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1510
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchTransfer.Parameters;
|
|
1511
1511
|
}
|
|
1512
1512
|
/**
|
|
1513
1513
|
* Watches for TIP20 token quote token update events.
|
|
@@ -1515,11 +1515,11 @@ export declare namespace watchTransfer {
|
|
|
1515
1515
|
* @example
|
|
1516
1516
|
* ```ts
|
|
1517
1517
|
* import { createConfig, http } from '@wagmi/core'
|
|
1518
|
-
* import { tempo } from '
|
|
1518
|
+
* import { tempo } from 'viem/chains'
|
|
1519
1519
|
* import { Actions } from 'tempo.ts/wagmi'
|
|
1520
1520
|
*
|
|
1521
1521
|
* const config = createConfig({
|
|
1522
|
-
* chains: [
|
|
1522
|
+
* chains: [tempoTestnet],
|
|
1523
1523
|
* transports: {
|
|
1524
1524
|
* [tempo.id]: http(),
|
|
1525
1525
|
* },
|
|
@@ -1541,6 +1541,6 @@ export declare namespace watchTransfer {
|
|
|
1541
1541
|
*/
|
|
1542
1542
|
export declare function watchUpdateQuoteToken<config extends Config>(config: config, parameters: watchUpdateQuoteToken.Parameters<config>): import("viem").WatchContractEventReturnType;
|
|
1543
1543
|
export declare namespace watchUpdateQuoteToken {
|
|
1544
|
-
type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1544
|
+
type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchUpdateQuoteToken.Parameters;
|
|
1545
1545
|
}
|
|
1546
1546
|
//# sourceMappingURL=token.d.ts.map
|