@xelis/sdk 0.11.21 → 0.11.22
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/types/daemon/types.d.ts +13 -0
- package/package.json +1 -1
|
@@ -183,6 +183,14 @@ export interface MultiSigPayload {
|
|
|
183
183
|
export interface ContractDeposit {
|
|
184
184
|
public: number;
|
|
185
185
|
}
|
|
186
|
+
export interface ContractCall {
|
|
187
|
+
contract: string;
|
|
188
|
+
chunk: "all" | {
|
|
189
|
+
specific: number[];
|
|
190
|
+
} | {
|
|
191
|
+
exclude: number[];
|
|
192
|
+
};
|
|
193
|
+
}
|
|
186
194
|
export interface InvokeContractPayload {
|
|
187
195
|
contract: string;
|
|
188
196
|
deposits: {
|
|
@@ -191,6 +199,11 @@ export interface InvokeContractPayload {
|
|
|
191
199
|
entry_id: number;
|
|
192
200
|
max_gas: number;
|
|
193
201
|
parameters: number[][];
|
|
202
|
+
permission: "none" | "all" | {
|
|
203
|
+
specific: ContractCall[];
|
|
204
|
+
} | {
|
|
205
|
+
exclude: ContractCall[];
|
|
206
|
+
};
|
|
194
207
|
}
|
|
195
208
|
export interface InvokeConstructorPayload {
|
|
196
209
|
max_gas: number;
|
package/package.json
CHANGED