@xelis/sdk 0.11.29 → 0.11.31
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/cjs/daemon/rpc.js +0 -3
- package/dist/cjs/daemon/types.js +0 -1
- package/dist/cjs/daemon/websocket.js +0 -3
- package/dist/esm/daemon/rpc.js +0 -3
- package/dist/esm/daemon/types.js +0 -1
- package/dist/esm/daemon/websocket.js +0 -3
- package/dist/types/daemon/rpc.d.ts +0 -1
- package/dist/types/daemon/types.d.ts +5 -10
- package/dist/types/daemon/websocket.d.ts +0 -1
- package/package.json +1 -1
package/dist/cjs/daemon/rpc.js
CHANGED
|
@@ -190,9 +190,6 @@ class RPC extends http_1.HttpRPC {
|
|
|
190
190
|
getContractRegisteredExecutionsAtTopoheight(params) {
|
|
191
191
|
return this.request(types_1.RPCMethod.GetContractRegisteredExecutionsAtTopoheight, params);
|
|
192
192
|
}
|
|
193
|
-
getContractOutputs(params) {
|
|
194
|
-
return this.request(types_1.RPCMethod.GetContractOutputs, params);
|
|
195
|
-
}
|
|
196
193
|
getContractModule(params) {
|
|
197
194
|
return this.request(types_1.RPCMethod.GetContractModule, params);
|
|
198
195
|
}
|
package/dist/cjs/daemon/types.js
CHANGED
|
@@ -78,7 +78,6 @@ var RPCMethod;
|
|
|
78
78
|
RPCMethod["GetContractLogs"] = "get_contract_logs";
|
|
79
79
|
RPCMethod["GetContractScheduledExecutionsAtTopoheight"] = "get_contract_scheduled_executions_at_topoheight";
|
|
80
80
|
RPCMethod["GetContractRegisteredExecutionsAtTopoheight"] = "get_contract_registered_executions_at_topoheight";
|
|
81
|
-
RPCMethod["GetContractOutputs"] = "get_contract_outputs";
|
|
82
81
|
RPCMethod["GetContractModule"] = "get_contract_module";
|
|
83
82
|
RPCMethod["GetContractData"] = "get_contract_data";
|
|
84
83
|
RPCMethod["GetContractDataAtTopoheight"] = "get_contract_data_at_topoheight";
|
|
@@ -209,9 +209,6 @@ class DaemonMethods {
|
|
|
209
209
|
getContractRegisteredExecutionsAtTopoheight(params) {
|
|
210
210
|
return this.dataCall(types_1.RPCMethod.GetContractRegisteredExecutionsAtTopoheight, params);
|
|
211
211
|
}
|
|
212
|
-
getContractOutputs(params) {
|
|
213
|
-
return this.dataCall(types_1.RPCMethod.GetContractOutputs, params);
|
|
214
|
-
}
|
|
215
212
|
getContractModule(params) {
|
|
216
213
|
return this.dataCall(types_1.RPCMethod.GetContractModule, params);
|
|
217
214
|
}
|
package/dist/esm/daemon/rpc.js
CHANGED
|
@@ -187,9 +187,6 @@ export class RPC extends HttpRPC {
|
|
|
187
187
|
getContractRegisteredExecutionsAtTopoheight(params) {
|
|
188
188
|
return this.request(RPCMethod.GetContractRegisteredExecutionsAtTopoheight, params);
|
|
189
189
|
}
|
|
190
|
-
getContractOutputs(params) {
|
|
191
|
-
return this.request(RPCMethod.GetContractOutputs, params);
|
|
192
|
-
}
|
|
193
190
|
getContractModule(params) {
|
|
194
191
|
return this.request(RPCMethod.GetContractModule, params);
|
|
195
192
|
}
|
package/dist/esm/daemon/types.js
CHANGED
|
@@ -75,7 +75,6 @@ export var RPCMethod;
|
|
|
75
75
|
RPCMethod["GetContractLogs"] = "get_contract_logs";
|
|
76
76
|
RPCMethod["GetContractScheduledExecutionsAtTopoheight"] = "get_contract_scheduled_executions_at_topoheight";
|
|
77
77
|
RPCMethod["GetContractRegisteredExecutionsAtTopoheight"] = "get_contract_registered_executions_at_topoheight";
|
|
78
|
-
RPCMethod["GetContractOutputs"] = "get_contract_outputs";
|
|
79
78
|
RPCMethod["GetContractModule"] = "get_contract_module";
|
|
80
79
|
RPCMethod["GetContractData"] = "get_contract_data";
|
|
81
80
|
RPCMethod["GetContractDataAtTopoheight"] = "get_contract_data_at_topoheight";
|
|
@@ -206,9 +206,6 @@ export class DaemonMethods {
|
|
|
206
206
|
getContractRegisteredExecutionsAtTopoheight(params) {
|
|
207
207
|
return this.dataCall(RPCMethod.GetContractRegisteredExecutionsAtTopoheight, params);
|
|
208
208
|
}
|
|
209
|
-
getContractOutputs(params) {
|
|
210
|
-
return this.dataCall(RPCMethod.GetContractOutputs, params);
|
|
211
|
-
}
|
|
212
209
|
getContractModule(params) {
|
|
213
210
|
return this.dataCall(RPCMethod.GetContractModule, params);
|
|
214
211
|
}
|
|
@@ -63,7 +63,6 @@ export declare class RPC extends HttpRPC {
|
|
|
63
63
|
getContractLogs(params: types.GetContractLogsParams): Promise<types.ContractLog[]>;
|
|
64
64
|
getContractScheduledExecutionsAtTopoheight(params: types.GetContractScheduledExecutionsAtTopoheightParams): Promise<types.ScheduledExecution[]>;
|
|
65
65
|
getContractRegisteredExecutionsAtTopoheight(params: types.GetContractScheduledExecutionsAtTopoheightParams): Promise<[number, string][]>;
|
|
66
|
-
getContractOutputs(params: types.GetContractOutputsParams): Promise<types.ContractOutputs>;
|
|
67
66
|
getContractModule(params: types.GetContractModuleParams): Promise<types.GetContractModuleResult>;
|
|
68
67
|
getContractData(params: types.GetContractDataParams): Promise<unknown>;
|
|
69
68
|
getContractDataAtTopoheight(params: types.GetContractDataAtTopoheightParams): Promise<unknown>;
|
|
@@ -359,7 +359,11 @@ export interface AssetData {
|
|
|
359
359
|
name: string;
|
|
360
360
|
ticker: string;
|
|
361
361
|
max_supply: "none" | MaxSupplyFixed | MaxSupplyMintable;
|
|
362
|
-
owner: "none" |
|
|
362
|
+
owner: "none" | {
|
|
363
|
+
creator: AssetCreator;
|
|
364
|
+
} | {
|
|
365
|
+
owner: AssetOwner;
|
|
366
|
+
};
|
|
363
367
|
topoheight: number;
|
|
364
368
|
}
|
|
365
369
|
export interface AssetWithData extends AssetData {
|
|
@@ -506,10 +510,6 @@ export interface HasMultisigParams {
|
|
|
506
510
|
address: string;
|
|
507
511
|
topoheight?: number;
|
|
508
512
|
}
|
|
509
|
-
export interface GetContractOutputsParams {
|
|
510
|
-
address: string;
|
|
511
|
-
topoheight: number;
|
|
512
|
-
}
|
|
513
513
|
export interface GetContractModuleParams {
|
|
514
514
|
contract: string;
|
|
515
515
|
}
|
|
@@ -740,10 +740,6 @@ export interface ContractLogScheduledExecution {
|
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
742
|
export type ContractLog = ContractLogRefundGas | ContractLogTransfer | ContractLogTransferContract | ContractLogMint | ContractLogBurn | ContractLogNewAsset | ContractLogExitCode | ContractLogRefundDeposits | ContractLogGasInjection | ContractLogScheduledExecution;
|
|
743
|
-
export interface ContractOutputs {
|
|
744
|
-
caller: string;
|
|
745
|
-
outputs: ContractLog[];
|
|
746
|
-
}
|
|
747
743
|
export interface PredicatedBaseFeeResult {
|
|
748
744
|
fee_per_kb: number;
|
|
749
745
|
predicated_fee_per_kb: number;
|
|
@@ -818,7 +814,6 @@ export declare enum RPCMethod {
|
|
|
818
814
|
GetContractLogs = "get_contract_logs",
|
|
819
815
|
GetContractScheduledExecutionsAtTopoheight = "get_contract_scheduled_executions_at_topoheight",
|
|
820
816
|
GetContractRegisteredExecutionsAtTopoheight = "get_contract_registered_executions_at_topoheight",
|
|
821
|
-
GetContractOutputs = "get_contract_outputs",
|
|
822
817
|
GetContractModule = "get_contract_module",
|
|
823
818
|
GetContractData = "get_contract_data",
|
|
824
819
|
GetContractDataAtTopoheight = "get_contract_data_at_topoheight",
|
|
@@ -161,7 +161,6 @@ export declare class DaemonMethods {
|
|
|
161
161
|
getContractLogs(params: types.GetContractLogsParams): Promise<types.ContractLog[]>;
|
|
162
162
|
getContractScheduledExecutionsAtTopoheight(params: types.GetContractScheduledExecutionsAtTopoheightParams): Promise<types.ScheduledExecution[]>;
|
|
163
163
|
getContractRegisteredExecutionsAtTopoheight(params: types.GetContractScheduledExecutionsAtTopoheightParams): Promise<[number, string][]>;
|
|
164
|
-
getContractOutputs(params: types.GetContractOutputsParams): Promise<types.ContractOutputs>;
|
|
165
164
|
getContractModule(params: types.GetContractModuleParams): Promise<types.GetContractModuleResult>;
|
|
166
165
|
getContractData(params: types.GetContractDataParams): Promise<unknown>;
|
|
167
166
|
getContractDataAtTopoheight(params: types.GetContractDataAtTopoheightParams): Promise<unknown>;
|
package/package.json
CHANGED