@d9-network/spec 1.2.2 → 1.2.4

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.
Files changed (25) hide show
  1. package/node_modules/@polkadot-api/descriptors/dist/chunk-7P6ASYW6.mjs +9 -0
  2. package/node_modules/@polkadot-api/descriptors/dist/common-types.d.ts +3371 -0
  3. package/node_modules/@polkadot-api/descriptors/dist/common.d.ts +1 -0
  4. package/node_modules/@polkadot-api/descriptors/dist/contracts/burnManager.d.ts +183 -0
  5. package/node_modules/@polkadot-api/descriptors/dist/contracts/burnMining.d.ts +184 -0
  6. package/node_modules/@polkadot-api/descriptors/dist/contracts/crossChainTransfer.d.ts +249 -0
  7. package/node_modules/@polkadot-api/descriptors/dist/contracts/index.d.ts +8 -0
  8. package/node_modules/@polkadot-api/descriptors/dist/contracts/marketMaker.d.ts +209 -0
  9. package/node_modules/@polkadot-api/descriptors/dist/contracts/merchantMining.d.ts +263 -0
  10. package/node_modules/@polkadot-api/descriptors/dist/contracts/miningPool.d.ts +159 -0
  11. package/node_modules/@polkadot-api/descriptors/dist/contracts/nodeReward.d.ts +172 -0
  12. package/node_modules/@polkadot-api/descriptors/dist/contracts/usdt.d.ts +145 -0
  13. package/node_modules/@polkadot-api/descriptors/dist/d9.d.ts +3346 -0
  14. package/node_modules/@polkadot-api/descriptors/dist/d9_metadata-EHIEZLL5.mjs +8 -0
  15. package/node_modules/@polkadot-api/descriptors/dist/d9_metadata.d.ts +2 -0
  16. package/node_modules/@polkadot-api/descriptors/dist/descriptors-JQ4ZJQ4V.mjs +29 -0
  17. package/node_modules/@polkadot-api/descriptors/dist/descriptors.d.ts +1 -0
  18. package/node_modules/@polkadot-api/descriptors/dist/index.d.ts +11 -0
  19. package/node_modules/@polkadot-api/descriptors/dist/index.js +200 -0
  20. package/node_modules/@polkadot-api/descriptors/dist/index.mjs +115 -0
  21. package/node_modules/@polkadot-api/descriptors/dist/metadataTypes-32V7BYUB.mjs +8 -0
  22. package/node_modules/@polkadot-api/descriptors/dist/metadataTypes.d.ts +2 -0
  23. package/node_modules/@polkadot-api/descriptors/generated.json +1 -0
  24. package/node_modules/@polkadot-api/descriptors/package.json +24 -0
  25. package/package.json +5 -2
@@ -0,0 +1 @@
1
+ export declare const toBinary: (base64: string) => Uint8Array<ArrayBuffer>;
@@ -0,0 +1,183 @@
1
+ import type { SS58String, Enum, ResultPayload, Binary, FixedSizeBinary, FixedSizeArray } from 'polkadot-api';
2
+ import type { InkDescriptors } from 'polkadot-api/ink';
3
+ type AnonymousEnum<T extends {}> = T & {
4
+ __anonymous: true;
5
+ };
6
+ type MyTuple<T> = [T, ...T[]];
7
+ type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
8
+ type Anonymize<T> = SeparateUndefined<T extends FixedSizeBinary<infer L> ? number extends L ? Binary : FixedSizeBinary<L> : T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
9
+ [K in keyof T]: T[K];
10
+ } : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
11
+ [K in keyof T & string]: T[K];
12
+ }>;
13
+ type T0 = Array<SS58String>;
14
+ type T1 = ResultPayload<undefined, Anonymize<T2>>;
15
+ type T2 = Enum<{
16
+ "CouldNotReadInput": undefined;
17
+ }>;
18
+ type T3 = ResultPayload<ResultPayload<Anonymize<T4>, Anonymize<T6>>, Anonymize<T2>>;
19
+ type T4 = {
20
+ "amount_burned": bigint;
21
+ "balance_due": bigint;
22
+ "balance_paid": bigint;
23
+ "last_withdrawal"?: (Anonymize<T5>) | undefined;
24
+ "last_burn": Anonymize<T5>;
25
+ };
26
+ type T5 = {
27
+ "time": bigint;
28
+ "contract": SS58String;
29
+ };
30
+ type T6 = Enum<{
31
+ "BurnAmountInsufficient": undefined;
32
+ "NoAccountFound": undefined;
33
+ "EarlyWithdrawalAttempt": undefined;
34
+ "ContractBalanceTooLow": undefined;
35
+ "RestrictedFunction": undefined;
36
+ "UsePortfolioExecuteFunction": undefined;
37
+ "WithdrawalExceedsBalance": undefined;
38
+ "TransferFailed": undefined;
39
+ "InvalidCaller": undefined;
40
+ "InvalidBurnContract": undefined;
41
+ "BurnContractAlreadyAdded": undefined;
42
+ "CrossContractCallFailed": undefined;
43
+ "WithdrawalNotAllowed": undefined;
44
+ "RuntimeErrorGettingAncestors": undefined;
45
+ "NoAncestorsFound": undefined;
46
+ }>;
47
+ type StorageDescriptor = {
48
+ "portfolios": {
49
+ "key": undefined;
50
+ "value": {
51
+ "amount_burned": bigint;
52
+ "balance_due": bigint;
53
+ "balance_paid": bigint;
54
+ "last_withdrawal": Enum<{
55
+ "None": undefined;
56
+ "Some": {
57
+ "0": {
58
+ "time": bigint;
59
+ "contract": SS58String;
60
+ };
61
+ };
62
+ }>;
63
+ "last_burn": {
64
+ "time": bigint;
65
+ "contract": SS58String;
66
+ };
67
+ };
68
+ };
69
+ "": {
70
+ "key": undefined;
71
+ "value": {
72
+ "admin": SS58String;
73
+ "burn_contracts": Anonymize<T0>;
74
+ "total_amount_burned": bigint;
75
+ };
76
+ };
77
+ };
78
+ type MessagesDescriptor = {
79
+ /**
80
+ * Executes a burn by making a cross-contract call, updates the total burned amount,
81
+ * updates the user's portfolio, and emits a `BurnExecuted` event.
82
+ *
83
+ * # Arguments
84
+ *
85
+ * * `burn_contract` - Account ID of the contract to call for the burn.
86
+ *
87
+ * # Errors
88
+ *
89
+ * Returns `Err` if the burn amount is zero, the burn contract is not valid,
90
+ * or the cross-contract call fails.
91
+ *
92
+ * # Returns
93
+ *
94
+ * Returns `Ok` with the updated portfolio on success.
95
+ */
96
+ "burn": {
97
+ "message": {
98
+ "burn_beneficiary": SS58String;
99
+ "burn_contract": SS58String;
100
+ };
101
+ "response": Anonymize<T3>;
102
+ "payable": true;
103
+ "mutates": true;
104
+ };
105
+ "withdraw": {
106
+ "message": {
107
+ "burn_contract": SS58String;
108
+ };
109
+ "response": Anonymize<T3>;
110
+ "mutates": true;
111
+ };
112
+ "get_ancestors": {
113
+ "message": {
114
+ "account_id": SS58String;
115
+ };
116
+ "response": ResultPayload<(Anonymize<T0>) | undefined, Anonymize<T2>>;
117
+ };
118
+ "add_burn_contract": {
119
+ "message": {
120
+ "burn_contract": SS58String;
121
+ };
122
+ "response": ResultPayload<ResultPayload<undefined, Anonymize<T6>>, Anonymize<T2>>;
123
+ "mutates": true;
124
+ };
125
+ "remove_burn_contract": {
126
+ "message": {
127
+ "burn_contract": SS58String;
128
+ };
129
+ "response": Anonymize<T1>;
130
+ "mutates": true;
131
+ };
132
+ "get_admin": {
133
+ "message": {};
134
+ "response": ResultPayload<SS58String, Anonymize<T2>>;
135
+ };
136
+ "get_total_burned": {
137
+ "message": {};
138
+ "response": ResultPayload<bigint, Anonymize<T2>>;
139
+ };
140
+ "get_portfolio": {
141
+ "message": {
142
+ "account_id": SS58String;
143
+ };
144
+ "response": ResultPayload<(Anonymize<T4>) | undefined, Anonymize<T2>>;
145
+ };
146
+ };
147
+ type ConstructorsDescriptor = {
148
+ /**
149
+ * Constructor that initializes the `bool` value to the given `init_value`.
150
+ */
151
+ "new": {
152
+ "message": {
153
+ "admin": SS58String;
154
+ "burn_contracts": Anonymize<T0>;
155
+ };
156
+ "response": Anonymize<T1>;
157
+ "payable": true;
158
+ };
159
+ };
160
+ type EventDescriptor = Enum<{
161
+ "WithdrawalExecuted": {
162
+ /**
163
+ * initiator of of the burn
164
+ */
165
+ "from": SS58String;
166
+ /**
167
+ * amount of tokens burned
168
+ */
169
+ "amount": bigint;
170
+ };
171
+ "BurnExecuted": {
172
+ /**
173
+ * initiator of of the burn
174
+ */
175
+ "from": SS58String;
176
+ /**
177
+ * amount of tokens burned
178
+ */
179
+ "amount": bigint;
180
+ };
181
+ }>;
182
+ export declare const descriptor: InkDescriptors<StorageDescriptor, MessagesDescriptor, ConstructorsDescriptor, EventDescriptor>;
183
+ export {};
@@ -0,0 +1,184 @@
1
+ import type { Enum, SS58String, FixedSizeArray, ResultPayload, FixedSizeBinary, Binary } from 'polkadot-api';
2
+ import type { InkDescriptors } from 'polkadot-api/ink';
3
+ type AnonymousEnum<T extends {}> = T & {
4
+ __anonymous: true;
5
+ };
6
+ type MyTuple<T> = [T, ...T[]];
7
+ type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
8
+ type Anonymize<T> = SeparateUndefined<T extends FixedSizeBinary<infer L> ? number extends L ? Binary : FixedSizeBinary<L> : T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
9
+ [K in keyof T]: T[K];
10
+ } : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
11
+ [K in keyof T & string]: T[K];
12
+ }>;
13
+ type T0 = ResultPayload<undefined, Anonymize<T1>>;
14
+ type T1 = Enum<{
15
+ "CouldNotReadInput": undefined;
16
+ }>;
17
+ type T2 = ResultPayload<ResultPayload<undefined, Anonymize<T3>>, Anonymize<T1>>;
18
+ type T3 = Enum<{
19
+ "BurnAmountInsufficient": undefined;
20
+ "NoAccountFound": undefined;
21
+ "EarlyWithdrawalAttempt": undefined;
22
+ "ContractBalanceTooLow": undefined;
23
+ "RestrictedFunction": undefined;
24
+ "UsePortfolioExecuteFunction": undefined;
25
+ "WithdrawalExceedsBalance": undefined;
26
+ "TransferFailed": undefined;
27
+ "InvalidCaller": undefined;
28
+ "InvalidBurnContract": undefined;
29
+ "BurnContractAlreadyAdded": undefined;
30
+ "BurnAmountNotMultipleOf100": undefined;
31
+ "CrossContractCallFailed": undefined;
32
+ "WithdrawalNotAllowed": undefined;
33
+ "WithdrawalAmountZero": undefined;
34
+ "RuntimeErrorGettingAncestors": undefined;
35
+ "NoAncestorsFound": undefined;
36
+ "MustBeMultipleOf100": undefined;
37
+ "RemoteCallToBurnContractFailed": undefined;
38
+ "RemoteCallToMiningPoolFailed": undefined;
39
+ "SomeEnvironmentError": undefined;
40
+ "CalledContractTrapped": undefined;
41
+ "CalledContractReverted": undefined;
42
+ "NotCallable": undefined;
43
+ "SomeDecodeError": undefined;
44
+ "SomeOffChainError": undefined;
45
+ "CalleeTrapped": undefined;
46
+ "CalleeReverted": undefined;
47
+ "KeyNotFound": undefined;
48
+ "_BelowSubsistenceThreshold": undefined;
49
+ "EnvironmentalTransferFailed": undefined;
50
+ "_EndowmentTooLow": undefined;
51
+ "CodeNotFound": undefined;
52
+ "Unknown": undefined;
53
+ "LoggingDisabled": undefined;
54
+ "CallRuntimeFailed": undefined;
55
+ "EcdsaRecoveryFailed": undefined;
56
+ "WithdrawalAmountExceedsBalance": undefined;
57
+ }>;
58
+ type StorageDescriptor = {
59
+ "accounts": {
60
+ "key": undefined;
61
+ "value": {
62
+ "creation_timestamp": bigint;
63
+ "amount_burned": bigint;
64
+ "balance_due": bigint;
65
+ "balance_paid": bigint;
66
+ "last_withdrawal": Enum<{
67
+ "None": undefined;
68
+ "Some": {
69
+ "0": bigint;
70
+ };
71
+ }>;
72
+ "last_burn": bigint;
73
+ "referral_boost_coefficients": {
74
+ "0": bigint;
75
+ "1": bigint;
76
+ };
77
+ "last_interaction": bigint;
78
+ };
79
+ };
80
+ "": {
81
+ "key": undefined;
82
+ "value": {
83
+ "total_amount_burned": bigint;
84
+ "main_pool": SS58String;
85
+ "burn_minimum": bigint;
86
+ "day_milliseconds": bigint;
87
+ "admin": SS58String;
88
+ };
89
+ };
90
+ };
91
+ type MessagesDescriptor = {
92
+ "change_main": {
93
+ "message": {
94
+ "new_main": SS58String;
95
+ };
96
+ "response": Anonymize<T2>;
97
+ "mutates": true;
98
+ };
99
+ "set_day_milliseconds": {
100
+ "message": {
101
+ "new_day_milliseconds": bigint;
102
+ };
103
+ "response": Anonymize<T2>;
104
+ "mutates": true;
105
+ };
106
+ "get_account": {
107
+ "message": {
108
+ "account_id": SS58String;
109
+ };
110
+ "response": ResultPayload<({
111
+ "creation_timestamp": bigint;
112
+ "amount_burned": bigint;
113
+ "balance_due": bigint;
114
+ "balance_paid": bigint;
115
+ "last_withdrawal"?: (bigint) | undefined;
116
+ "last_burn": bigint;
117
+ "referral_boost_coefficients": FixedSizeArray<2, bigint>;
118
+ "last_interaction": bigint;
119
+ }) | undefined, Anonymize<T1>>;
120
+ };
121
+ /**
122
+ * burn funcion callable by ownly master contract
123
+ *
124
+ * does the necessary checks then calls the internal burn function `_burn`
125
+ */
126
+ "initiate_burn": {
127
+ "message": {
128
+ "account_id": SS58String;
129
+ "burn_amount": bigint;
130
+ };
131
+ "response": ResultPayload<ResultPayload<bigint, Anonymize<T3>>, Anonymize<T1>>;
132
+ "mutates": true;
133
+ };
134
+ /**
135
+ * calculate values to be used by the burn manager
136
+ */
137
+ "prepare_withdrawal": {
138
+ "message": {
139
+ "account_id": SS58String;
140
+ };
141
+ "response": ResultPayload<ResultPayload<[bigint, bigint], Anonymize<T3>>, Anonymize<T1>>;
142
+ "mutates": true;
143
+ };
144
+ "get_ancestors": {
145
+ "message": {
146
+ "account_id": SS58String;
147
+ };
148
+ "response": ResultPayload<(Array<SS58String>) | undefined, Anonymize<T1>>;
149
+ };
150
+ "update_data": {
151
+ "message": {
152
+ "user": SS58String;
153
+ "amount_burned": bigint;
154
+ };
155
+ "response": Anonymize<T2>;
156
+ "mutates": true;
157
+ };
158
+ /**
159
+ * Modifies the code which is used to execute calls to this contract address (`AccountId`).
160
+ *
161
+ * We use this to upgrade the contract logic. We don't do any authorization here, any caller
162
+ * can execute this method. In a production contract you would do some authorization here.
163
+ */
164
+ "set_code": {
165
+ "message": {
166
+ "code_hash": FixedSizeBinary<32>;
167
+ };
168
+ "response": Anonymize<T0>;
169
+ "mutates": true;
170
+ };
171
+ };
172
+ type ConstructorsDescriptor = {
173
+ "new": {
174
+ "message": {
175
+ "main_pool": SS58String;
176
+ "burn_minimum": bigint;
177
+ };
178
+ "response": Anonymize<T0>;
179
+ "payable": true;
180
+ };
181
+ };
182
+ type EventDescriptor = Enum<{}>;
183
+ export declare const descriptor: InkDescriptors<StorageDescriptor, MessagesDescriptor, ConstructorsDescriptor, EventDescriptor>;
184
+ export {};
@@ -0,0 +1,249 @@
1
+ import type { Enum, FixedSizeBinary, SS58String, ResultPayload, Binary, FixedSizeArray } from 'polkadot-api';
2
+ import type { InkDescriptors } from 'polkadot-api/ink';
3
+ type AnonymousEnum<T extends {}> = T & {
4
+ __anonymous: true;
5
+ };
6
+ type MyTuple<T> = [T, ...T[]];
7
+ type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
8
+ type Anonymize<T> = SeparateUndefined<T extends FixedSizeBinary<infer L> ? number extends L ? Binary : FixedSizeBinary<L> : T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
9
+ [K in keyof T]: T[K];
10
+ } : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
11
+ [K in keyof T & string]: T[K];
12
+ }>;
13
+ type T5 = Array<SS58String>;
14
+ type T0 = ResultPayload<undefined, Anonymize<T1>>;
15
+ type T1 = Enum<{
16
+ "CouldNotReadInput": undefined;
17
+ }>;
18
+ type T2 = ResultPayload<ResultPayload<undefined, Anonymize<T3>>, Anonymize<T1>>;
19
+ type T3 = Enum<{
20
+ "Restrictedto": SS58String;
21
+ "AmountMustBeGreaterThanZero": undefined;
22
+ "TransactionAlreadyExists": undefined;
23
+ "InvalidAddressLength": Anonymize<T4>;
24
+ "InvalidHexString": undefined;
25
+ "DecodedHexLengthInvalid": undefined;
26
+ "TronAddressInvalidByteLength": undefined;
27
+ "InvalidTronAddress": undefined;
28
+ "TronDecodeError": undefined;
29
+ "UnableToSendUSDT": undefined;
30
+ "InsufficientAllowance": undefined;
31
+ "UserUSDTBalanceInsufficient": undefined;
32
+ "D9orUSDTProvidedLiquidityAtZero": undefined;
33
+ "AlreadyTransactionAdmin": undefined;
34
+ }>;
35
+ type T4 = Enum<{
36
+ "D9": undefined;
37
+ "TRON": undefined;
38
+ }>;
39
+ type T6 = ResultPayload<({
40
+ "transaction_id": string;
41
+ "transaction_type": Enum<{
42
+ "Commit": undefined;
43
+ "Dispatch": undefined;
44
+ }>;
45
+ "from_chain": Anonymize<T4>;
46
+ "from_address": Enum<{
47
+ "Tron": FixedSizeBinary<21>;
48
+ "D9": SS58String;
49
+ }>;
50
+ "to_address": Enum<{
51
+ "Tron": FixedSizeBinary<21>;
52
+ "D9": SS58String;
53
+ }>;
54
+ "amount": bigint;
55
+ "timestamp": bigint;
56
+ }) | undefined, Anonymize<T1>>;
57
+ type T7 = ResultPayload<ResultPayload<string, Anonymize<T3>>, Anonymize<T1>>;
58
+ type StorageDescriptor = {
59
+ "user_transaction_nonce": {
60
+ "key": undefined;
61
+ "value": bigint;
62
+ };
63
+ "transactions": {
64
+ "key": undefined;
65
+ "value": {
66
+ "transaction_id": string;
67
+ "transaction_type": Enum<{
68
+ "Commit": undefined;
69
+ "Dispatch": undefined;
70
+ }>;
71
+ "from_chain": Enum<{
72
+ "D9": undefined;
73
+ "TRON": undefined;
74
+ }>;
75
+ "from_address": Enum<{
76
+ "Tron": {
77
+ "0": FixedSizeBinary<21>;
78
+ };
79
+ "D9": {
80
+ "0": SS58String;
81
+ };
82
+ }>;
83
+ "to_address": Enum<{
84
+ "Tron": {
85
+ "0": FixedSizeBinary<21>;
86
+ };
87
+ "D9": {
88
+ "0": SS58String;
89
+ };
90
+ }>;
91
+ "amount": bigint;
92
+ "timestamp": bigint;
93
+ };
94
+ };
95
+ "": {
96
+ "key": undefined;
97
+ "value": {
98
+ "super_admin": SS58String;
99
+ "new_admin": SS58String;
100
+ "controller": SS58String;
101
+ "usdt_contract": SS58String;
102
+ "transaction_admins": Anonymize<T5>;
103
+ };
104
+ };
105
+ };
106
+ type MessagesDescriptor = {
107
+ "add_transaction_admin": {
108
+ "message": {
109
+ "admin": SS58String;
110
+ };
111
+ "response": Anonymize<T2>;
112
+ "mutates": true;
113
+ };
114
+ "remove_transaction_admin": {
115
+ "message": {
116
+ "admin": SS58String;
117
+ };
118
+ "response": Anonymize<T2>;
119
+ "mutates": true;
120
+ };
121
+ "get_transaction_admins": {
122
+ "message": {};
123
+ "response": ResultPayload<Anonymize<T5>, Anonymize<T1>>;
124
+ };
125
+ "is_transaction_admin": {
126
+ "message": {
127
+ "admin": SS58String;
128
+ };
129
+ "response": ResultPayload<boolean, Anonymize<T1>>;
130
+ };
131
+ "record_cancelled_tron_transfer": {
132
+ "message": {
133
+ "user_id": SS58String;
134
+ };
135
+ "response": Anonymize<T2>;
136
+ "mutates": true;
137
+ };
138
+ "generate_tx_id": {
139
+ "message": {
140
+ "user_id": SS58String;
141
+ };
142
+ "response": ResultPayload<string, Anonymize<T1>>;
143
+ };
144
+ /**
145
+ * get last transaction. function is called on both chains.
146
+ */
147
+ "get_last_transaction": {
148
+ "message": {
149
+ "user_id": SS58String;
150
+ };
151
+ "response": Anonymize<T6>;
152
+ };
153
+ /**
154
+ * Helper function to get the current transaction nonce for a user
155
+ */
156
+ "get_current_nonce": {
157
+ "message": {
158
+ "user_id": SS58String;
159
+ };
160
+ "response": ResultPayload<bigint, Anonymize<T1>>;
161
+ };
162
+ "get_transaction": {
163
+ "message": {
164
+ "tx_id": string;
165
+ };
166
+ "response": Anonymize<T6>;
167
+ };
168
+ /**
169
+ * Modifies the code which is used to execute calls to this contract address (`AccountId`).
170
+ *
171
+ * We use this to upgrade the contract logic. We don't do any authorization here, any caller
172
+ * can execute this method. In a production contract you would do some authorization here.
173
+ */
174
+ "set_code": {
175
+ "message": {
176
+ "code_hash": FixedSizeBinary<32>;
177
+ };
178
+ "response": Anonymize<T0>;
179
+ "mutates": true;
180
+ };
181
+ "asset_commit": {
182
+ "message": {
183
+ "transaction_id": string;
184
+ "from_address": SS58String;
185
+ "to_address": FixedSizeBinary<21>;
186
+ "amount": bigint;
187
+ };
188
+ "response": Anonymize<T7>;
189
+ "mutates": true;
190
+ };
191
+ "asset_dispatch": {
192
+ "message": {
193
+ "from_address": FixedSizeBinary<21>;
194
+ "to_address": SS58String;
195
+ "amount": bigint;
196
+ };
197
+ "response": Anonymize<T7>;
198
+ "mutates": true;
199
+ };
200
+ "change_controller": {
201
+ "message": {
202
+ "new_controller": SS58String;
203
+ };
204
+ "response": Anonymize<T0>;
205
+ "mutates": true;
206
+ };
207
+ "relinquish_admin": {
208
+ "message": {
209
+ "new_admin": SS58String;
210
+ };
211
+ "response": Anonymize<T0>;
212
+ "mutates": true;
213
+ };
214
+ "claim_admin": {
215
+ "message": {};
216
+ "response": Anonymize<T0>;
217
+ "mutates": true;
218
+ };
219
+ "cancel_admin_transfer": {
220
+ "message": {};
221
+ "response": Anonymize<T0>;
222
+ "mutates": true;
223
+ };
224
+ };
225
+ type ConstructorsDescriptor = {
226
+ /**
227
+ * Constructor that initializes the `bool` value to the given `init_value`.
228
+ */
229
+ "new": {
230
+ "message": {
231
+ "usdt_contract": SS58String;
232
+ };
233
+ "response": Anonymize<T0>;
234
+ };
235
+ };
236
+ type EventDescriptor = Enum<{
237
+ "CommitCreated": {
238
+ "transaction_id": string;
239
+ "from_address": SS58String;
240
+ "amount": bigint;
241
+ };
242
+ "DispatchCompleted": {
243
+ "tx_id": string;
244
+ "to_address": SS58String;
245
+ "amount": bigint;
246
+ };
247
+ }>;
248
+ export declare const descriptor: InkDescriptors<StorageDescriptor, MessagesDescriptor, ConstructorsDescriptor, EventDescriptor>;
249
+ export {};
@@ -0,0 +1,8 @@
1
+ export { descriptor as nodeReward } from './nodeReward';
2
+ export { descriptor as merchantMining } from './merchantMining';
3
+ export { descriptor as usdt } from './usdt';
4
+ export { descriptor as burnManager } from './burnManager';
5
+ export { descriptor as crossChainTransfer } from './crossChainTransfer';
6
+ export { descriptor as marketMaker } from './marketMaker';
7
+ export { descriptor as burnMining } from './burnMining';
8
+ export { descriptor as miningPool } from './miningPool';