@sudobility/contracts 1.12.0 → 1.13.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/evm/src/evm/{mailer-client.d.ts → evm-mailer-client.d.ts} +146 -50
- package/dist/evm/src/evm/evm-mailer-client.d.ts.map +1 -0
- package/dist/evm/src/evm/evm-mailer-client.js +924 -0
- package/dist/evm/src/evm/evm-mailer-client.js.map +1 -0
- package/dist/evm/src/evm/index.d.ts +1 -1
- package/dist/evm/src/evm/index.d.ts.map +1 -1
- package/dist/evm/src/evm/index.js +4 -4
- package/dist/evm/src/evm/index.js.map +1 -1
- package/dist/solana/solana/index.d.ts +1 -1
- package/dist/solana/solana/index.d.ts.map +1 -1
- package/dist/solana/solana/index.js +4 -3
- package/dist/solana/solana/index.js.map +1 -1
- package/dist/solana/solana/solana-mailer-client.d.ts +209 -0
- package/dist/solana/solana/solana-mailer-client.d.ts.map +1 -0
- package/dist/solana/solana/solana-mailer-client.js +1004 -0
- package/dist/solana/solana/solana-mailer-client.js.map +1 -0
- package/dist/solana/solana/types.d.ts +3 -2
- package/dist/solana/solana/types.d.ts.map +1 -1
- package/dist/solana/solana/types.js.map +1 -1
- package/dist/{unified-esm/src/evm/mailer-client.d.ts → unified/src/evm/evm-mailer-client.d.ts} +146 -50
- package/dist/unified/src/evm/evm-mailer-client.d.ts.map +1 -0
- package/dist/unified/src/evm/evm-mailer-client.js +924 -0
- package/dist/unified/src/evm/evm-mailer-client.js.map +1 -0
- package/dist/unified/src/evm/index.d.ts +1 -1
- package/dist/unified/src/evm/index.d.ts.map +1 -1
- package/dist/unified/src/evm/index.js +4 -4
- package/dist/unified/src/evm/index.js.map +1 -1
- package/dist/unified/src/react/context/MailerProvider.d.ts +26 -20
- package/dist/unified/src/react/context/MailerProvider.d.ts.map +1 -1
- package/dist/unified/src/react/context/MailerProvider.js +26 -26
- package/dist/unified/src/react/context/MailerProvider.js.map +1 -1
- package/dist/unified/src/react/hooks/useMailerMutations.d.ts +225 -192
- package/dist/unified/src/react/hooks/useMailerMutations.d.ts.map +1 -1
- package/dist/unified/src/react/hooks/useMailerMutations.js +263 -266
- package/dist/unified/src/react/hooks/useMailerMutations.js.map +1 -1
- package/dist/unified/src/react/hooks/useMailerQueries.d.ts +117 -63
- package/dist/unified/src/react/hooks/useMailerQueries.d.ts.map +1 -1
- package/dist/unified/src/react/hooks/useMailerQueries.js +239 -104
- package/dist/unified/src/react/hooks/useMailerQueries.js.map +1 -1
- package/dist/unified/src/react/index.d.ts +5 -3
- package/dist/unified/src/react/index.d.ts.map +1 -1
- package/dist/unified/src/react/index.js +41 -26
- package/dist/unified/src/react/index.js.map +1 -1
- package/dist/unified/src/solana/index.d.ts +1 -1
- package/dist/unified/src/solana/index.d.ts.map +1 -1
- package/dist/unified/src/solana/index.js +4 -3
- package/dist/unified/src/solana/index.js.map +1 -1
- package/dist/unified/src/solana/solana-mailer-client.d.ts +209 -0
- package/dist/unified/src/solana/solana-mailer-client.d.ts.map +1 -0
- package/dist/unified/src/solana/solana-mailer-client.js +1004 -0
- package/dist/unified/src/solana/solana-mailer-client.js.map +1 -0
- package/dist/unified/src/solana/types.d.ts +3 -2
- package/dist/unified/src/solana/types.d.ts.map +1 -1
- package/dist/unified/src/solana/types.js.map +1 -1
- package/dist/unified/src/unified/index.d.ts +1 -1
- package/dist/unified/src/unified/index.d.ts.map +1 -1
- package/dist/unified/src/unified/onchain-mailer-client.d.ts +187 -268
- package/dist/unified/src/unified/onchain-mailer-client.d.ts.map +1 -1
- package/dist/unified/src/unified/onchain-mailer-client.js +539 -1614
- package/dist/unified/src/unified/onchain-mailer-client.js.map +1 -1
- package/dist/unified/src/unified/types.d.ts +23 -6
- package/dist/unified/src/unified/types.d.ts.map +1 -1
- package/dist/{unified/src/evm/mailer-client.d.ts → unified-esm/src/evm/evm-mailer-client.d.ts} +146 -50
- package/dist/unified-esm/src/evm/evm-mailer-client.d.ts.map +1 -0
- package/dist/unified-esm/src/evm/evm-mailer-client.js +920 -0
- package/dist/unified-esm/src/evm/evm-mailer-client.js.map +1 -0
- package/dist/unified-esm/src/evm/index.d.ts +1 -1
- package/dist/unified-esm/src/evm/index.d.ts.map +1 -1
- package/dist/unified-esm/src/evm/index.js +2 -2
- package/dist/unified-esm/src/evm/index.js.map +1 -1
- package/dist/unified-esm/src/react/context/MailerProvider.d.ts +26 -20
- package/dist/unified-esm/src/react/context/MailerProvider.d.ts.map +1 -1
- package/dist/unified-esm/src/react/context/MailerProvider.js +25 -26
- package/dist/unified-esm/src/react/context/MailerProvider.js.map +1 -1
- package/dist/unified-esm/src/react/hooks/useMailerMutations.d.ts +225 -192
- package/dist/unified-esm/src/react/hooks/useMailerMutations.d.ts.map +1 -1
- package/dist/unified-esm/src/react/hooks/useMailerMutations.js +254 -262
- package/dist/unified-esm/src/react/hooks/useMailerMutations.js.map +1 -1
- package/dist/unified-esm/src/react/hooks/useMailerQueries.d.ts +117 -63
- package/dist/unified-esm/src/react/hooks/useMailerQueries.d.ts.map +1 -1
- package/dist/unified-esm/src/react/hooks/useMailerQueries.js +232 -102
- package/dist/unified-esm/src/react/hooks/useMailerQueries.js.map +1 -1
- package/dist/unified-esm/src/react/index.d.ts +5 -3
- package/dist/unified-esm/src/react/index.d.ts.map +1 -1
- package/dist/unified-esm/src/react/index.js +9 -5
- package/dist/unified-esm/src/react/index.js.map +1 -1
- package/dist/unified-esm/src/solana/index.d.ts +1 -1
- package/dist/unified-esm/src/solana/index.d.ts.map +1 -1
- package/dist/unified-esm/src/solana/index.js +2 -1
- package/dist/unified-esm/src/solana/index.js.map +1 -1
- package/dist/unified-esm/src/solana/solana-mailer-client.d.ts +209 -0
- package/dist/unified-esm/src/solana/solana-mailer-client.d.ts.map +1 -0
- package/dist/unified-esm/src/solana/solana-mailer-client.js +1000 -0
- package/dist/unified-esm/src/solana/solana-mailer-client.js.map +1 -0
- package/dist/unified-esm/src/solana/types.d.ts +3 -2
- package/dist/unified-esm/src/solana/types.d.ts.map +1 -1
- package/dist/unified-esm/src/solana/types.js.map +1 -1
- package/dist/unified-esm/src/unified/index.d.ts +1 -1
- package/dist/unified-esm/src/unified/index.d.ts.map +1 -1
- package/dist/unified-esm/src/unified/onchain-mailer-client.d.ts +187 -268
- package/dist/unified-esm/src/unified/onchain-mailer-client.d.ts.map +1 -1
- package/dist/unified-esm/src/unified/onchain-mailer-client.js +539 -1614
- package/dist/unified-esm/src/unified/onchain-mailer-client.js.map +1 -1
- package/dist/unified-esm/src/unified/types.d.ts +23 -6
- package/dist/unified-esm/src/unified/types.d.ts.map +1 -1
- package/package.json +5 -4
- package/programs/mailer/Cargo.toml +1 -1
- package/dist/evm/src/evm/mailer-client.d.ts.map +0 -1
- package/dist/evm/src/evm/mailer-client.js +0 -619
- package/dist/evm/src/evm/mailer-client.js.map +0 -1
- package/dist/solana/solana/mailer-client.d.ts +0 -282
- package/dist/solana/solana/mailer-client.d.ts.map +0 -1
- package/dist/solana/solana/mailer-client.js +0 -989
- package/dist/solana/solana/mailer-client.js.map +0 -1
- package/dist/unified/src/evm/mailer-client.d.ts.map +0 -1
- package/dist/unified/src/evm/mailer-client.js +0 -619
- package/dist/unified/src/evm/mailer-client.js.map +0 -1
- package/dist/unified/src/solana/mailer-client.d.ts +0 -282
- package/dist/unified/src/solana/mailer-client.d.ts.map +0 -1
- package/dist/unified/src/solana/mailer-client.js +0 -989
- package/dist/unified/src/solana/mailer-client.js.map +0 -1
- package/dist/unified-esm/src/evm/mailer-client.d.ts.map +0 -1
- package/dist/unified-esm/src/evm/mailer-client.js +0 -615
- package/dist/unified-esm/src/evm/mailer-client.js.map +0 -1
- package/dist/unified-esm/src/solana/mailer-client.d.ts +0 -282
- package/dist/unified-esm/src/solana/mailer-client.d.ts.map +0 -1
- package/dist/unified-esm/src/solana/mailer-client.js +0 -985
- package/dist/unified-esm/src/solana/mailer-client.js.map +0 -1
|
@@ -1,159 +1,268 @@
|
|
|
1
1
|
import { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
2
|
-
import type { MessageResult, UnifiedTransaction, DelegationResult } from '../../unified/types';
|
|
2
|
+
import type { MessageResult, UnifiedTransaction, DelegationResult, Wallet } from '../../unified/types';
|
|
3
|
+
import type { ChainInfo } from '@sudobility/configs';
|
|
4
|
+
import type { OnchainMailerClient } from '../../unified/onchain-mailer-client';
|
|
3
5
|
/**
|
|
4
|
-
* Hook
|
|
6
|
+
* Hook for message-related operations
|
|
5
7
|
*
|
|
6
8
|
* @example
|
|
7
9
|
* ```tsx
|
|
8
|
-
* function
|
|
9
|
-
* const
|
|
10
|
+
* function MessageSender() {
|
|
11
|
+
* const client = useMailerClient(); // Get client from context or create it
|
|
12
|
+
* const { sendMessage, sendPrepared } = useMessaging(client, wallet, chainInfo);
|
|
10
13
|
*
|
|
11
14
|
* const handleSend = () => {
|
|
12
15
|
* sendMessage.mutate({
|
|
13
16
|
* subject: 'Hello',
|
|
14
17
|
* body: 'World!',
|
|
15
|
-
* priority: true
|
|
16
|
-
* resolveSenderToName: false
|
|
18
|
+
* priority: true
|
|
17
19
|
* });
|
|
18
20
|
* };
|
|
19
21
|
*
|
|
20
22
|
* return (
|
|
21
23
|
* <button onClick={handleSend} disabled={sendMessage.isPending}>
|
|
22
|
-
*
|
|
24
|
+
* Send Message
|
|
23
25
|
* </button>
|
|
24
26
|
* );
|
|
25
27
|
* }
|
|
26
28
|
* ```
|
|
27
29
|
*/
|
|
28
|
-
export declare function
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
export declare function useMessaging(client: OnchainMailerClient, connectedWallet: Wallet, chainInfo: ChainInfo, options?: {
|
|
31
|
+
sendMessage?: UseMutationOptions<MessageResult, Error, {
|
|
32
|
+
subject: string;
|
|
33
|
+
body: string;
|
|
34
|
+
priority?: boolean;
|
|
35
|
+
resolveSenderToName?: boolean;
|
|
36
|
+
}>;
|
|
37
|
+
sendPrepared?: UseMutationOptions<MessageResult, Error, {
|
|
38
|
+
to: string;
|
|
39
|
+
mailId: string;
|
|
40
|
+
priority?: boolean;
|
|
41
|
+
resolveSenderToName?: boolean;
|
|
42
|
+
}>;
|
|
43
|
+
}): {
|
|
44
|
+
sendMessage: UseMutationResult<import("@sudobility/types").MessageSendResponse, Error, {
|
|
45
|
+
subject: string;
|
|
46
|
+
body: string;
|
|
47
|
+
priority?: boolean;
|
|
48
|
+
resolveSenderToName?: boolean;
|
|
49
|
+
}, unknown>;
|
|
50
|
+
sendPrepared: UseMutationResult<import("@sudobility/types").MessageSendResponse, Error, {
|
|
51
|
+
to: string;
|
|
52
|
+
mailId: string;
|
|
53
|
+
priority?: boolean;
|
|
54
|
+
resolveSenderToName?: boolean;
|
|
55
|
+
}, unknown>;
|
|
56
|
+
};
|
|
39
57
|
/**
|
|
40
|
-
* Hook
|
|
58
|
+
* Hook for claim-related operations
|
|
41
59
|
*
|
|
42
60
|
* @example
|
|
43
61
|
* ```tsx
|
|
44
|
-
* function
|
|
45
|
-
* const
|
|
62
|
+
* function ClaimPanel() {
|
|
63
|
+
* const { claimRevenue, claimOwnerShare, claimExpiredShares } = useClaims(client, wallet, chainInfo);
|
|
46
64
|
*
|
|
47
65
|
* return (
|
|
48
|
-
* <
|
|
49
|
-
* onClick={() =>
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* >
|
|
56
|
-
* Send Prepared
|
|
57
|
-
* </button>
|
|
66
|
+
* <div>
|
|
67
|
+
* <button onClick={() => claimRevenue.mutate()}>
|
|
68
|
+
* Claim Revenue
|
|
69
|
+
* </button>
|
|
70
|
+
* <button onClick={() => claimOwnerShare.mutate()}>
|
|
71
|
+
* Claim Owner Share
|
|
72
|
+
* </button>
|
|
73
|
+
* </div>
|
|
58
74
|
* );
|
|
59
75
|
* }
|
|
60
76
|
* ```
|
|
61
77
|
*/
|
|
62
|
-
export declare function
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
78
|
+
export declare function useClaims(client: OnchainMailerClient, connectedWallet: Wallet, chainInfo: ChainInfo, options?: {
|
|
79
|
+
claimRevenue?: UseMutationOptions<UnifiedTransaction, Error, void>;
|
|
80
|
+
claimOwnerShare?: UseMutationOptions<UnifiedTransaction, Error, void>;
|
|
81
|
+
claimExpiredShares?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
82
|
+
recipient: string;
|
|
83
|
+
}>;
|
|
84
|
+
}): {
|
|
85
|
+
claimRevenue: UseMutationResult<UnifiedTransaction, Error, void, unknown>;
|
|
86
|
+
claimOwnerShare: UseMutationResult<UnifiedTransaction, Error, void, unknown>;
|
|
87
|
+
claimExpiredShares: UseMutationResult<UnifiedTransaction, Error, {
|
|
88
|
+
recipient: string;
|
|
89
|
+
}, unknown>;
|
|
90
|
+
};
|
|
73
91
|
/**
|
|
74
|
-
* Hook
|
|
92
|
+
* Hook for delegation-related operations
|
|
75
93
|
*
|
|
76
94
|
* @example
|
|
77
95
|
* ```tsx
|
|
78
|
-
* function
|
|
79
|
-
* const
|
|
96
|
+
* function DelegationManager() {
|
|
97
|
+
* const { delegateTo, rejectDelegation } = useDelegation(client, wallet, chainInfo);
|
|
80
98
|
*
|
|
81
99
|
* return (
|
|
82
|
-
*
|
|
83
|
-
* onClick={() =>
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* </button>
|
|
100
|
+
* <>
|
|
101
|
+
* <button onClick={() => delegateTo.mutate({ delegate: '0xABC...' })}>
|
|
102
|
+
* Delegate
|
|
103
|
+
* </button>
|
|
104
|
+
* <button onClick={() => rejectDelegation.mutate({ delegatorAddress: '0xDEF...' })}>
|
|
105
|
+
* Reject Delegation
|
|
106
|
+
* </button>
|
|
107
|
+
* </>
|
|
91
108
|
* );
|
|
92
109
|
* }
|
|
93
110
|
* ```
|
|
94
111
|
*/
|
|
95
|
-
export declare function
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
112
|
+
export declare function useDelegation(client: OnchainMailerClient, connectedWallet: Wallet, chainInfo: ChainInfo, options?: {
|
|
113
|
+
delegateTo?: UseMutationOptions<DelegationResult, Error, {
|
|
114
|
+
delegate: string;
|
|
115
|
+
}>;
|
|
116
|
+
rejectDelegation?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
117
|
+
delegatorAddress: string;
|
|
118
|
+
}>;
|
|
119
|
+
}): {
|
|
120
|
+
delegateTo: UseMutationResult<import("@sudobility/types").MailboxDelegationResponse, Error, {
|
|
121
|
+
delegate: string;
|
|
122
|
+
}, unknown>;
|
|
123
|
+
rejectDelegation: UseMutationResult<UnifiedTransaction, Error, {
|
|
124
|
+
delegatorAddress: string;
|
|
125
|
+
}, unknown>;
|
|
126
|
+
};
|
|
104
127
|
/**
|
|
105
|
-
* Hook
|
|
128
|
+
* Hook for permission-related operations (EVM only)
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* ```tsx
|
|
132
|
+
* function PermissionManager() {
|
|
133
|
+
* const { setPermission, removePermission } = usePermissions(client, wallet, chainInfo);
|
|
134
|
+
*
|
|
135
|
+
* return (
|
|
136
|
+
* <>
|
|
137
|
+
* <button onClick={() => setPermission.mutate({ contractAddress: '0xABC...' })}>
|
|
138
|
+
* Grant Permission
|
|
139
|
+
* </button>
|
|
140
|
+
* <button onClick={() => removePermission.mutate({ contractAddress: '0xABC...' })}>
|
|
141
|
+
* Revoke Permission
|
|
142
|
+
* </button>
|
|
143
|
+
* </>
|
|
144
|
+
* );
|
|
145
|
+
* }
|
|
146
|
+
* ```
|
|
106
147
|
*/
|
|
107
|
-
export declare function
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}>;
|
|
148
|
+
export declare function usePermissions(client: OnchainMailerClient, connectedWallet: Wallet, chainInfo: ChainInfo, options?: {
|
|
149
|
+
setPermission?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
150
|
+
contractAddress: string;
|
|
151
|
+
}>;
|
|
152
|
+
removePermission?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
153
|
+
contractAddress: string;
|
|
154
|
+
}>;
|
|
155
|
+
}): {
|
|
156
|
+
setPermission: UseMutationResult<UnifiedTransaction, Error, {
|
|
157
|
+
contractAddress: string;
|
|
158
|
+
}, unknown>;
|
|
159
|
+
removePermission: UseMutationResult<UnifiedTransaction, Error, {
|
|
160
|
+
contractAddress: string;
|
|
161
|
+
}, unknown>;
|
|
162
|
+
};
|
|
114
163
|
/**
|
|
115
|
-
* Hook
|
|
164
|
+
* Hook for contract control operations (owner only)
|
|
116
165
|
*
|
|
117
166
|
* @example
|
|
118
167
|
* ```tsx
|
|
119
|
-
* function
|
|
120
|
-
* const {
|
|
121
|
-
* const claimRevenue = useClaimRevenue();
|
|
122
|
-
*
|
|
123
|
-
* if (!claimable || claimable === 0n) return null;
|
|
168
|
+
* function ContractControls() {
|
|
169
|
+
* const { pause, unpause, emergencyUnpause } = useContractControl(client, wallet, chainInfo);
|
|
124
170
|
*
|
|
125
171
|
* return (
|
|
126
|
-
*
|
|
127
|
-
* onClick={() =>
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* </button>
|
|
172
|
+
* <>
|
|
173
|
+
* <button onClick={() => pause.mutate()}>Pause</button>
|
|
174
|
+
* <button onClick={() => unpause.mutate()}>Unpause</button>
|
|
175
|
+
* <button onClick={() => emergencyUnpause.mutate()}>Emergency Unpause</button>
|
|
176
|
+
* </>
|
|
132
177
|
* );
|
|
133
178
|
* }
|
|
134
179
|
* ```
|
|
135
180
|
*/
|
|
136
|
-
export declare function
|
|
181
|
+
export declare function useContractControl(client: OnchainMailerClient, connectedWallet: Wallet, chainInfo: ChainInfo, options?: {
|
|
182
|
+
pause?: UseMutationOptions<UnifiedTransaction, Error, void>;
|
|
183
|
+
unpause?: UseMutationOptions<UnifiedTransaction, Error, void>;
|
|
184
|
+
emergencyUnpause?: UseMutationOptions<UnifiedTransaction, Error, void>;
|
|
185
|
+
}): {
|
|
186
|
+
pause: UseMutationResult<UnifiedTransaction, Error, void, unknown>;
|
|
187
|
+
unpause: UseMutationResult<UnifiedTransaction, Error, void, unknown>;
|
|
188
|
+
emergencyUnpause: UseMutationResult<UnifiedTransaction, Error, void, unknown>;
|
|
189
|
+
};
|
|
137
190
|
/**
|
|
138
|
-
* Hook
|
|
191
|
+
* Hook for owner-specific operations
|
|
139
192
|
*
|
|
140
193
|
* @example
|
|
141
194
|
* ```tsx
|
|
142
|
-
* function
|
|
143
|
-
* const {
|
|
144
|
-
* const claimOwner = useClaimOwnerShare();
|
|
195
|
+
* function OwnerPanel() {
|
|
196
|
+
* const { setFees, distributeClaimableFunds } = useOwnerOperations(client, wallet, chainInfo);
|
|
145
197
|
*
|
|
146
198
|
* return (
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
199
|
+
* <>
|
|
200
|
+
* <button onClick={() => setFees.mutate({ sendFee: 200000n, delegationFee: 10000000n })}>
|
|
201
|
+
* Update Fees
|
|
202
|
+
* </button>
|
|
203
|
+
* <button onClick={() => distributeClaimableFunds.mutate({ recipient: '0xABC...' })}>
|
|
204
|
+
* Distribute Funds
|
|
205
|
+
* </button>
|
|
206
|
+
* </>
|
|
150
207
|
* );
|
|
151
208
|
* }
|
|
152
209
|
* ```
|
|
153
210
|
*/
|
|
211
|
+
export declare function useOwnerOperations(client: OnchainMailerClient, connectedWallet: Wallet, chainInfo: ChainInfo, options?: {
|
|
212
|
+
setFees?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
213
|
+
sendFee: bigint;
|
|
214
|
+
delegationFee: bigint;
|
|
215
|
+
}>;
|
|
216
|
+
distributeClaimableFunds?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
217
|
+
recipient: string;
|
|
218
|
+
}>;
|
|
219
|
+
}): {
|
|
220
|
+
setFees: UseMutationResult<UnifiedTransaction, Error, {
|
|
221
|
+
sendFee: bigint;
|
|
222
|
+
delegationFee: bigint;
|
|
223
|
+
}, unknown>;
|
|
224
|
+
distributeClaimableFunds: UseMutationResult<UnifiedTransaction, Error, {
|
|
225
|
+
recipient: string;
|
|
226
|
+
}, unknown>;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* @deprecated Use useMessaging() instead
|
|
230
|
+
*/
|
|
231
|
+
export declare function useSendMessage(options?: UseMutationOptions<MessageResult, Error, {
|
|
232
|
+
subject: string;
|
|
233
|
+
body: string;
|
|
234
|
+
priority?: boolean;
|
|
235
|
+
resolveSenderToName?: boolean;
|
|
236
|
+
}>): UseMutationResult<MessageResult, Error, {
|
|
237
|
+
subject: string;
|
|
238
|
+
body: string;
|
|
239
|
+
priority?: boolean;
|
|
240
|
+
resolveSenderToName?: boolean;
|
|
241
|
+
}>;
|
|
242
|
+
/**
|
|
243
|
+
* @deprecated Use useMessaging() instead
|
|
244
|
+
*/
|
|
245
|
+
export declare function useSendPrepared(options?: UseMutationOptions<MessageResult, Error, {
|
|
246
|
+
to: string;
|
|
247
|
+
mailId: string;
|
|
248
|
+
priority?: boolean;
|
|
249
|
+
resolveSenderToName?: boolean;
|
|
250
|
+
}>): UseMutationResult<MessageResult, Error, {
|
|
251
|
+
to: string;
|
|
252
|
+
mailId: string;
|
|
253
|
+
priority?: boolean;
|
|
254
|
+
resolveSenderToName?: boolean;
|
|
255
|
+
}>;
|
|
256
|
+
/**
|
|
257
|
+
* @deprecated Use useClaims() instead
|
|
258
|
+
*/
|
|
259
|
+
export declare function useClaimRevenue(options?: UseMutationOptions<UnifiedTransaction, Error, void>): UseMutationResult<UnifiedTransaction, Error, void>;
|
|
260
|
+
/**
|
|
261
|
+
* @deprecated Use useClaims() instead
|
|
262
|
+
*/
|
|
154
263
|
export declare function useClaimOwnerShare(options?: UseMutationOptions<UnifiedTransaction, Error, void>): UseMutationResult<UnifiedTransaction, Error, void>;
|
|
155
264
|
/**
|
|
156
|
-
*
|
|
265
|
+
* @deprecated Use useClaims() instead
|
|
157
266
|
*/
|
|
158
267
|
export declare function useClaimExpiredShares(options?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
159
268
|
recipient: string;
|
|
@@ -161,23 +270,7 @@ export declare function useClaimExpiredShares(options?: UseMutationOptions<Unifi
|
|
|
161
270
|
recipient: string;
|
|
162
271
|
}>;
|
|
163
272
|
/**
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
* @example
|
|
167
|
-
* ```tsx
|
|
168
|
-
* function DelegateButton() {
|
|
169
|
-
* const delegate = useDelegateTo();
|
|
170
|
-
*
|
|
171
|
-
* return (
|
|
172
|
-
* <button
|
|
173
|
-
* onClick={() => delegate.mutate({ delegate: '0xABC...' })}
|
|
174
|
-
* disabled={delegate.isPending}
|
|
175
|
-
* >
|
|
176
|
-
* Delegate
|
|
177
|
-
* </button>
|
|
178
|
-
* );
|
|
179
|
-
* }
|
|
180
|
-
* ```
|
|
273
|
+
* @deprecated Use useDelegation() instead
|
|
181
274
|
*/
|
|
182
275
|
export declare function useDelegateTo(options?: UseMutationOptions<DelegationResult, Error, {
|
|
183
276
|
delegate: string;
|
|
@@ -185,22 +278,7 @@ export declare function useDelegateTo(options?: UseMutationOptions<DelegationRes
|
|
|
185
278
|
delegate: string;
|
|
186
279
|
}>;
|
|
187
280
|
/**
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
* @example
|
|
191
|
-
* ```tsx
|
|
192
|
-
* function RejectDelegationButton({ delegatorAddress }: { delegatorAddress: string }) {
|
|
193
|
-
* const rejectDelegation = useRejectDelegation();
|
|
194
|
-
*
|
|
195
|
-
* return (
|
|
196
|
-
* <button
|
|
197
|
-
* onClick={() => rejectDelegation.mutate({ delegatorAddress })}
|
|
198
|
-
* >
|
|
199
|
-
* Reject Delegation
|
|
200
|
-
* </button>
|
|
201
|
-
* );
|
|
202
|
-
* }
|
|
203
|
-
* ```
|
|
281
|
+
* @deprecated Use useDelegation() instead
|
|
204
282
|
*/
|
|
205
283
|
export declare function useRejectDelegation(options?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
206
284
|
delegatorAddress: string;
|
|
@@ -208,90 +286,45 @@ export declare function useRejectDelegation(options?: UseMutationOptions<Unified
|
|
|
208
286
|
delegatorAddress: string;
|
|
209
287
|
}>;
|
|
210
288
|
/**
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* @example
|
|
214
|
-
* ```tsx
|
|
215
|
-
* function SetFeeForm() {
|
|
216
|
-
* const setFee = useSetFee();
|
|
217
|
-
*
|
|
218
|
-
* return (
|
|
219
|
-
* <button onClick={() => setFee.mutate({ newFee: 200000n })}>
|
|
220
|
-
* Update Fee to 0.2 USDC
|
|
221
|
-
* </button>
|
|
222
|
-
* );
|
|
223
|
-
* }
|
|
224
|
-
* ```
|
|
289
|
+
* @deprecated Use usePermissions() instead
|
|
225
290
|
*/
|
|
226
|
-
export declare function
|
|
227
|
-
|
|
291
|
+
export declare function useSetPermission(options?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
292
|
+
contractAddress: string;
|
|
228
293
|
}>): UseMutationResult<UnifiedTransaction, Error, {
|
|
229
|
-
|
|
294
|
+
contractAddress: string;
|
|
230
295
|
}>;
|
|
231
296
|
/**
|
|
232
|
-
*
|
|
297
|
+
* @deprecated Use usePermissions() instead
|
|
233
298
|
*/
|
|
234
|
-
export declare function
|
|
235
|
-
|
|
299
|
+
export declare function useRemovePermission(options?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
300
|
+
contractAddress: string;
|
|
236
301
|
}>): UseMutationResult<UnifiedTransaction, Error, {
|
|
237
|
-
|
|
302
|
+
contractAddress: string;
|
|
238
303
|
}>;
|
|
239
304
|
/**
|
|
240
|
-
*
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
*
|
|
251
|
-
* >
|
|
252
|
-
* Pause Contract
|
|
253
|
-
* </button>
|
|
254
|
-
* );
|
|
255
|
-
* }
|
|
256
|
-
* ```
|
|
305
|
+
* @deprecated Use useOwnerOperations() instead
|
|
306
|
+
*/
|
|
307
|
+
export declare function useSetFees(options?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
308
|
+
sendFee: bigint;
|
|
309
|
+
delegationFee: bigint;
|
|
310
|
+
}>): UseMutationResult<UnifiedTransaction, Error, {
|
|
311
|
+
sendFee: bigint;
|
|
312
|
+
delegationFee: bigint;
|
|
313
|
+
}>;
|
|
314
|
+
/**
|
|
315
|
+
* @deprecated Use useContractControl() instead
|
|
257
316
|
*/
|
|
258
317
|
export declare function usePause(options?: UseMutationOptions<UnifiedTransaction, Error, void>): UseMutationResult<UnifiedTransaction, Error, void>;
|
|
259
318
|
/**
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
* @example
|
|
263
|
-
* ```tsx
|
|
264
|
-
* function UnpauseButton() {
|
|
265
|
-
* const unpause = useUnpause();
|
|
266
|
-
*
|
|
267
|
-
* return (
|
|
268
|
-
* <button onClick={() => unpause.mutate()}>
|
|
269
|
-
* Unpause Contract
|
|
270
|
-
* </button>
|
|
271
|
-
* );
|
|
272
|
-
* }
|
|
273
|
-
* ```
|
|
319
|
+
* @deprecated Use useContractControl() instead
|
|
274
320
|
*/
|
|
275
321
|
export declare function useUnpause(options?: UseMutationOptions<UnifiedTransaction, Error, void>): UseMutationResult<UnifiedTransaction, Error, void>;
|
|
276
322
|
/**
|
|
277
|
-
*
|
|
323
|
+
* @deprecated Use useContractControl() instead
|
|
278
324
|
*/
|
|
279
325
|
export declare function useEmergencyUnpause(options?: UseMutationOptions<UnifiedTransaction, Error, void>): UseMutationResult<UnifiedTransaction, Error, void>;
|
|
280
326
|
/**
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* @example
|
|
284
|
-
* ```tsx
|
|
285
|
-
* function DistributeFundsButton({ recipient }: { recipient: string }) {
|
|
286
|
-
* const distribute = useDistributeClaimableFunds();
|
|
287
|
-
*
|
|
288
|
-
* return (
|
|
289
|
-
* <button onClick={() => distribute.mutate({ recipient })}>
|
|
290
|
-
* Distribute Funds to {recipient}
|
|
291
|
-
* </button>
|
|
292
|
-
* );
|
|
293
|
-
* }
|
|
294
|
-
* ```
|
|
327
|
+
* @deprecated Use useOwnerOperations() instead
|
|
295
328
|
*/
|
|
296
329
|
export declare function useDistributeClaimableFunds(options?: UseMutationOptions<UnifiedTransaction, Error, {
|
|
297
330
|
recipient: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMailerMutations.d.ts","sourceRoot":"","sources":["../../../../../src/react/hooks/useMailerMutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,kBAAkB,EAAE,iBAAiB,EAAkB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useMailerMutations.d.ts","sourceRoot":"","sources":["../../../../../src/react/hooks/useMailerMutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,kBAAkB,EAAE,iBAAiB,EAAkB,MAAM,uBAAuB,CAAC;AAE3G,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACvG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,mBAAmB,EAC3B,eAAe,EAAE,MAAM,EACvB,SAAS,E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