algosdk 2.4.0 → 2.5.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/README.md +4 -4
- package/dist/browser/algosdk.min.js +1 -1
- package/dist/browser/algosdk.min.js.map +1 -1
- package/dist/cjs/client/urlTokenBaseHTTPClient.js +0 -3
- package/dist/cjs/client/urlTokenBaseHTTPClient.js.map +1 -1
- package/dist/cjs/client/v2/algod/models/types.js +240 -15
- package/dist/cjs/client/v2/algod/models/types.js.map +1 -1
- package/dist/cjs/client/v2/indexer/lookupAccountTransactions.js +2 -3
- package/dist/cjs/client/v2/indexer/lookupAccountTransactions.js.map +1 -1
- package/dist/cjs/client/v2/indexer/lookupAssetBalances.js +2 -1
- package/dist/cjs/client/v2/indexer/lookupAssetBalances.js.map +1 -1
- package/dist/cjs/client/v2/indexer/lookupAssetTransactions.js +2 -4
- package/dist/cjs/client/v2/indexer/lookupAssetTransactions.js.map +1 -1
- package/dist/cjs/client/v2/indexer/searchAccounts.js +2 -1
- package/dist/cjs/client/v2/indexer/searchAccounts.js.map +1 -1
- package/dist/cjs/client/v2/indexer/searchForTransactions.js +61 -62
- package/dist/cjs/client/v2/indexer/searchForTransactions.js.map +1 -1
- package/dist/cjs/nacl/naclWrappers.js +4 -0
- package/dist/cjs/nacl/naclWrappers.js.map +1 -1
- package/dist/cjs/utils/utils.js +13 -1
- package/dist/cjs/utils/utils.js.map +1 -1
- package/dist/esm/client/urlTokenBaseHTTPClient.js +0 -3
- package/dist/esm/client/urlTokenBaseHTTPClient.js.map +1 -1
- package/dist/esm/client/v2/algod/models/types.js +233 -13
- package/dist/esm/client/v2/algod/models/types.js.map +1 -1
- package/dist/esm/client/v2/indexer/lookupAccountTransactions.js +2 -3
- package/dist/esm/client/v2/indexer/lookupAccountTransactions.js.map +1 -1
- package/dist/esm/client/v2/indexer/lookupAssetBalances.js +2 -1
- package/dist/esm/client/v2/indexer/lookupAssetBalances.js.map +1 -1
- package/dist/esm/client/v2/indexer/lookupAssetTransactions.js +2 -4
- package/dist/esm/client/v2/indexer/lookupAssetTransactions.js.map +1 -1
- package/dist/esm/client/v2/indexer/searchAccounts.js +2 -1
- package/dist/esm/client/v2/indexer/searchAccounts.js.map +1 -1
- package/dist/esm/client/v2/indexer/searchForTransactions.js +61 -62
- package/dist/esm/client/v2/indexer/searchForTransactions.js.map +1 -1
- package/dist/esm/nacl/naclWrappers.js +4 -0
- package/dist/esm/nacl/naclWrappers.js.map +1 -1
- package/dist/esm/utils/utils.js +11 -0
- package/dist/esm/utils/utils.js.map +1 -1
- package/dist/types/client/v2/algod/models/types.d.ts +194 -4
- package/dist/types/client/v2/indexer/lookupAccountTransactions.d.ts +0 -2
- package/dist/types/client/v2/indexer/lookupAssetTransactions.d.ts +0 -3
- package/dist/types/client/v2/indexer/searchForTransactions.d.ts +54 -56
- package/dist/types/utils/utils.d.ts +5 -0
- package/package.json +4 -4
- package/src/client/urlTokenBaseHTTPClient.ts +0 -3
- package/src/client/v2/algod/models/types.ts +430 -9
- package/src/client/v2/indexer/lookupAccountTransactions.ts +2 -3
- package/src/client/v2/indexer/lookupAssetBalances.ts +2 -1
- package/src/client/v2/indexer/lookupAssetTransactions.ts +2 -4
- package/src/client/v2/indexer/searchAccounts.ts +2 -1
- package/src/client/v2/indexer/searchForTransactions.ts +63 -64
- package/src/nacl/naclWrappers.ts +6 -0
- package/src/utils/utils.ts +12 -0
|
@@ -111,7 +111,6 @@ class URLTokenBaseHTTPClient {
|
|
|
111
111
|
...requestHeaders,
|
|
112
112
|
};
|
|
113
113
|
const res = await (0, cross_fetch_1.fetch)(this.getURL(relativePath, query), {
|
|
114
|
-
mode: 'cors',
|
|
115
114
|
headers,
|
|
116
115
|
});
|
|
117
116
|
return URLTokenBaseHTTPClient.formatFetchResponse(res);
|
|
@@ -125,7 +124,6 @@ class URLTokenBaseHTTPClient {
|
|
|
125
124
|
};
|
|
126
125
|
const res = await (0, cross_fetch_1.fetch)(this.getURL(relativePath, query), {
|
|
127
126
|
method: 'POST',
|
|
128
|
-
mode: 'cors',
|
|
129
127
|
body: data,
|
|
130
128
|
headers,
|
|
131
129
|
});
|
|
@@ -140,7 +138,6 @@ class URLTokenBaseHTTPClient {
|
|
|
140
138
|
};
|
|
141
139
|
const res = await (0, cross_fetch_1.fetch)(this.getURL(relativePath, query), {
|
|
142
140
|
method: 'DELETE',
|
|
143
|
-
mode: 'cors',
|
|
144
141
|
body: data,
|
|
145
142
|
headers,
|
|
146
143
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"urlTokenBaseHTTPClient.js","sourceRoot":"","sources":["../../../src/client/urlTokenBaseHTTPClient.ts"],"names":[],"mappings":";;;AAAA,mCAAgC;AAChC,6CAAuD;AAwBvD,MAAM,qBAAsB,SAAQ,KAAK;IACvC,YAAY,OAAe,EAAS,QAAgC;QAClE,KAAK,CAAC,OAAO,CAAC,CAAC;QADmB,aAAQ,GAAR,QAAQ,CAAwB;QAElE,IAAI,CAAC,IAAI,GAAG,uBAAuB,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF;AAQD;;;;GAIG;AACH,MAAa,sBAAsB;IAIjC,YACE,WAAwB,EACxB,UAAkB,EAClB,IAAsB,EACd,iBAAsC,EAAE;QAAxC,mBAAc,GAAd,cAAc,CAA0B;QAEhD,6EAA6E;QAC7E,0EAA0E;QAC1E,8BAA8B;QAC9B,MAAM,eAAe,GAAG,UAAU,CAAC,QAAQ,CAAC,GAAG,CAAC;YAC9C,CAAC,CAAC,UAAU;YACZ,CAAC,CAAC,GAAG,UAAU,GAAG,CAAC;QACrB,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC,eAAe,CAAC,CAAC;QAC/C,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;YAC/B,aAAa,CAAC,IAAI,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC;SACtC;QAED,IAAI,aAAa,CAAC,QAAQ,C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;QAEH,OAAO,sBAAsB,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;IACzD,CAAC;IAED,KAAK,CAAC,IAAI,CACR,YAAoB,EACpB,IAAgB,EAChB,KAAqB,EACrB,iBAAyC,EAAE;QAE3C,kCAAkC;QAClC,MAAM,OAAO,GAAG;YACd,GAAG,IAAI,CAAC,WAAW;YACnB,GAAG,IAAI,CAAC,cAAc;YACtB,GAAG,cAAc;SAClB,CAAC;QAEF,MAAM,GAAG,GAAG,MAAM,IAAA,mBAAK,EAAC,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE;YACxD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,OAAO;SACR,CAAC,CAAC;QAEH,OAAO,sBAAsB,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;IACzD,CAAC;IAED,KAAK,CAAC,MAAM,CACV,YAAoB,EACpB,IAAgB,EAChB,KAAqB,EACrB,iBAAyC,EAAE;QAE3C,kCAAkC;QAClC,MAAM,OAAO,GAAG;YACd,GAAG,IAAI,CAAC,WAAW;YACnB,GAAG,IAAI,CAAC,cAAc;YACtB,GAAG,cAAc;SAClB,CAAC;QAEF,MAAM,GAAG,GAAG,MAAM,IAAA,mBAAK,EAAC,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE;YACxD,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,IAAI;YACV,OAAO;SACR,CAAC,CAAC;QAEH,OAAO,sBAAsB,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;IACzD,CAAC;CACF;AA1KD,wDA0KC"}
|
|
@@ -6,8 +6,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
6
6
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
10
|
-
exports.Version = exports.TransactionProofResponse = void 0;
|
|
9
|
+
exports.StateProofMessage = exports.StateProof = exports.SimulationTransactionExecTrace = exports.SimulationOpcodeTraceUnit = exports.SimulationEvalOverrides = exports.SimulateTransactionResult = exports.SimulateTransactionGroupResult = exports.SimulateTraceConfig = exports.SimulateResponse = exports.SimulateRequestTransactionGroup = exports.SimulateRequest = exports.ScratchChange = exports.PostTransactionsResponse = exports.PendingTransactionsResponse = exports.PendingTransactionResponse = exports.NodeStatusResponse = exports.LightBlockHeaderProof = exports.LedgerStateDeltaForTransactionGroup = exports.KvDelta = exports.GetSyncRoundResponse = exports.GetBlockTimeStampOffsetResponse = exports.EvalDeltaKeyValue = exports.EvalDelta = exports.ErrorResponse = exports.DryrunTxnResult = exports.DryrunState = exports.DryrunSource = exports.DryrunResponse = exports.DryrunRequest = exports.DisassembleResponse = exports.CompileResponse = exports.BuildVersion = exports.BoxesResponse = exports.BoxDescriptor = exports.Box = exports.BlockResponse = exports.BlockHashResponse = exports.AvmValue = exports.AssetParams = exports.AssetHolding = exports.Asset = exports.ApplicationStateSchema = exports.ApplicationParams = exports.ApplicationLocalState = exports.Application = exports.AccountStateDelta = exports.AccountParticipation = exports.AccountAssetResponse = exports.AccountApplicationResponse = exports.Account = void 0;
|
|
10
|
+
exports.Version = exports.TransactionProofResponse = exports.TransactionParametersResponse = exports.TransactionGroupLedgerStateDeltasForRoundResponse = exports.TealValue = exports.TealKeyValue = exports.SupplyResponse = void 0;
|
|
11
11
|
/* eslint-disable no-use-before-define */
|
|
12
12
|
const buffer_1 = require("buffer");
|
|
13
13
|
const basemodel_1 = __importDefault(require("../../basemodel"));
|
|
@@ -740,6 +740,44 @@ class AssetParams extends basemodel_1.default {
|
|
|
740
740
|
}
|
|
741
741
|
}
|
|
742
742
|
exports.AssetParams = AssetParams;
|
|
743
|
+
/**
|
|
744
|
+
* Represents an AVM value.
|
|
745
|
+
*/
|
|
746
|
+
class AvmValue extends basemodel_1.default {
|
|
747
|
+
/**
|
|
748
|
+
* Creates a new `AvmValue` object.
|
|
749
|
+
* @param type - value type. Value `1` refers to **bytes**, value `2` refers to **uint64**
|
|
750
|
+
* @param bytes - bytes value.
|
|
751
|
+
* @param uint - uint value.
|
|
752
|
+
*/
|
|
753
|
+
constructor({ type, bytes, uint, }) {
|
|
754
|
+
super();
|
|
755
|
+
this.type = type;
|
|
756
|
+
this.bytes =
|
|
757
|
+
typeof bytes === 'string'
|
|
758
|
+
? new Uint8Array(buffer_1.Buffer.from(bytes, 'base64'))
|
|
759
|
+
: bytes;
|
|
760
|
+
this.uint = uint;
|
|
761
|
+
this.attribute_map = {
|
|
762
|
+
type: 'type',
|
|
763
|
+
bytes: 'bytes',
|
|
764
|
+
uint: 'uint',
|
|
765
|
+
};
|
|
766
|
+
}
|
|
767
|
+
// eslint-disable-next-line camelcase
|
|
768
|
+
static from_obj_for_encoding(data) {
|
|
769
|
+
/* eslint-disable dot-notation */
|
|
770
|
+
if (typeof data['type'] === 'undefined')
|
|
771
|
+
throw new Error(`Response is missing required field 'type': ${data}`);
|
|
772
|
+
return new AvmValue({
|
|
773
|
+
type: data['type'],
|
|
774
|
+
bytes: data['bytes'],
|
|
775
|
+
uint: data['uint'],
|
|
776
|
+
});
|
|
777
|
+
/* eslint-enable dot-notation */
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
exports.AvmValue = AvmValue;
|
|
743
781
|
/**
|
|
744
782
|
* Hash of a block header.
|
|
745
783
|
*/
|
|
@@ -806,20 +844,23 @@ class Box extends basemodel_1.default {
|
|
|
806
844
|
/**
|
|
807
845
|
* Creates a new `Box` object.
|
|
808
846
|
* @param name - (name) box name, base64 encoded
|
|
847
|
+
* @param round - The round for which this information is relevant
|
|
809
848
|
* @param value - (value) box value, base64 encoded.
|
|
810
849
|
*/
|
|
811
|
-
constructor({ name, value, }) {
|
|
850
|
+
constructor({ name, round, value, }) {
|
|
812
851
|
super();
|
|
813
852
|
this.name =
|
|
814
853
|
typeof name === 'string'
|
|
815
854
|
? new Uint8Array(buffer_1.Buffer.from(name, 'base64'))
|
|
816
855
|
: name;
|
|
856
|
+
this.round = round;
|
|
817
857
|
this.value =
|
|
818
858
|
typeof value === 'string'
|
|
819
859
|
? new Uint8Array(buffer_1.Buffer.from(value, 'base64'))
|
|
820
860
|
: value;
|
|
821
861
|
this.attribute_map = {
|
|
822
862
|
name: 'name',
|
|
863
|
+
round: 'round',
|
|
823
864
|
value: 'value',
|
|
824
865
|
};
|
|
825
866
|
}
|
|
@@ -828,10 +869,13 @@ class Box extends basemodel_1.default {
|
|
|
828
869
|
/* eslint-disable dot-notation */
|
|
829
870
|
if (typeof data['name'] === 'undefined')
|
|
830
871
|
throw new Error(`Response is missing required field 'name': ${data}`);
|
|
872
|
+
if (typeof data['round'] === 'undefined')
|
|
873
|
+
throw new Error(`Response is missing required field 'round': ${data}`);
|
|
831
874
|
if (typeof data['value'] === 'undefined')
|
|
832
875
|
throw new Error(`Response is missing required field 'value': ${data}`);
|
|
833
876
|
return new Box({
|
|
834
877
|
name: data['name'],
|
|
878
|
+
round: data['round'],
|
|
835
879
|
value: data['value'],
|
|
836
880
|
});
|
|
837
881
|
/* eslint-enable dot-notation */
|
|
@@ -1495,20 +1539,20 @@ class LedgerStateDeltaForTransactionGroup extends basemodel_1.default {
|
|
|
1495
1539
|
this.delta = delta;
|
|
1496
1540
|
this.ids = ids;
|
|
1497
1541
|
this.attribute_map = {
|
|
1498
|
-
delta: '
|
|
1499
|
-
ids: '
|
|
1542
|
+
delta: 'Delta',
|
|
1543
|
+
ids: 'Ids',
|
|
1500
1544
|
};
|
|
1501
1545
|
}
|
|
1502
1546
|
// eslint-disable-next-line camelcase
|
|
1503
1547
|
static from_obj_for_encoding(data) {
|
|
1504
1548
|
/* eslint-disable dot-notation */
|
|
1505
|
-
if (typeof data['
|
|
1506
|
-
throw new Error(`Response is missing required field '
|
|
1507
|
-
if (!Array.isArray(data['
|
|
1508
|
-
throw new Error(`Response is missing required array field '
|
|
1549
|
+
if (typeof data['Delta'] === 'undefined')
|
|
1550
|
+
throw new Error(`Response is missing required field 'Delta': ${data}`);
|
|
1551
|
+
if (!Array.isArray(data['Ids']))
|
|
1552
|
+
throw new Error(`Response is missing required array field 'Ids': ${data}`);
|
|
1509
1553
|
return new LedgerStateDeltaForTransactionGroup({
|
|
1510
|
-
delta: data['
|
|
1511
|
-
ids: data['
|
|
1554
|
+
delta: data['Delta'],
|
|
1555
|
+
ids: data['Ids'],
|
|
1512
1556
|
});
|
|
1513
1557
|
/* eslint-enable dot-notation */
|
|
1514
1558
|
}
|
|
@@ -1861,6 +1905,39 @@ class PostTransactionsResponse extends basemodel_1.default {
|
|
|
1861
1905
|
}
|
|
1862
1906
|
}
|
|
1863
1907
|
exports.PostTransactionsResponse = PostTransactionsResponse;
|
|
1908
|
+
/**
|
|
1909
|
+
* A write operation into a scratch slot.
|
|
1910
|
+
*/
|
|
1911
|
+
class ScratchChange extends basemodel_1.default {
|
|
1912
|
+
/**
|
|
1913
|
+
* Creates a new `ScratchChange` object.
|
|
1914
|
+
* @param newValue - Represents an AVM value.
|
|
1915
|
+
* @param slot - The scratch slot written.
|
|
1916
|
+
*/
|
|
1917
|
+
constructor({ newValue, slot, }) {
|
|
1918
|
+
super();
|
|
1919
|
+
this.newValue = newValue;
|
|
1920
|
+
this.slot = slot;
|
|
1921
|
+
this.attribute_map = {
|
|
1922
|
+
newValue: 'new-value',
|
|
1923
|
+
slot: 'slot',
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
// eslint-disable-next-line camelcase
|
|
1927
|
+
static from_obj_for_encoding(data) {
|
|
1928
|
+
/* eslint-disable dot-notation */
|
|
1929
|
+
if (typeof data['new-value'] === 'undefined')
|
|
1930
|
+
throw new Error(`Response is missing required field 'new-value': ${data}`);
|
|
1931
|
+
if (typeof data['slot'] === 'undefined')
|
|
1932
|
+
throw new Error(`Response is missing required field 'slot': ${data}`);
|
|
1933
|
+
return new ScratchChange({
|
|
1934
|
+
newValue: AvmValue.from_obj_for_encoding(data['new-value']),
|
|
1935
|
+
slot: data['slot'],
|
|
1936
|
+
});
|
|
1937
|
+
/* eslint-enable dot-notation */
|
|
1938
|
+
}
|
|
1939
|
+
}
|
|
1940
|
+
exports.ScratchChange = ScratchChange;
|
|
1864
1941
|
/**
|
|
1865
1942
|
* Request type for simulation endpoint.
|
|
1866
1943
|
*/
|
|
@@ -1871,18 +1948,21 @@ class SimulateRequest extends basemodel_1.default {
|
|
|
1871
1948
|
* @param allowEmptySignatures - Allow transactions without signatures to be simulated as if they had correct
|
|
1872
1949
|
* signatures.
|
|
1873
1950
|
* @param allowMoreLogging - Lifts limits on log opcode usage during simulation.
|
|
1951
|
+
* @param execTraceConfig - An object that configures simulation execution trace.
|
|
1874
1952
|
* @param extraOpcodeBudget - Applies extra opcode budget during simulation for each transaction group.
|
|
1875
1953
|
*/
|
|
1876
|
-
constructor({ txnGroups, allowEmptySignatures, allowMoreLogging, extraOpcodeBudget, }) {
|
|
1954
|
+
constructor({ txnGroups, allowEmptySignatures, allowMoreLogging, execTraceConfig, extraOpcodeBudget, }) {
|
|
1877
1955
|
super();
|
|
1878
1956
|
this.txnGroups = txnGroups;
|
|
1879
1957
|
this.allowEmptySignatures = allowEmptySignatures;
|
|
1880
1958
|
this.allowMoreLogging = allowMoreLogging;
|
|
1959
|
+
this.execTraceConfig = execTraceConfig;
|
|
1881
1960
|
this.extraOpcodeBudget = extraOpcodeBudget;
|
|
1882
1961
|
this.attribute_map = {
|
|
1883
1962
|
txnGroups: 'txn-groups',
|
|
1884
1963
|
allowEmptySignatures: 'allow-empty-signatures',
|
|
1885
1964
|
allowMoreLogging: 'allow-more-logging',
|
|
1965
|
+
execTraceConfig: 'exec-trace-config',
|
|
1886
1966
|
extraOpcodeBudget: 'extra-opcode-budget',
|
|
1887
1967
|
};
|
|
1888
1968
|
}
|
|
@@ -1895,6 +1975,9 @@ class SimulateRequest extends basemodel_1.default {
|
|
|
1895
1975
|
txnGroups: data['txn-groups'].map(SimulateRequestTransactionGroup.from_obj_for_encoding),
|
|
1896
1976
|
allowEmptySignatures: data['allow-empty-signatures'],
|
|
1897
1977
|
allowMoreLogging: data['allow-more-logging'],
|
|
1978
|
+
execTraceConfig: typeof data['exec-trace-config'] !== 'undefined'
|
|
1979
|
+
? SimulateTraceConfig.from_obj_for_encoding(data['exec-trace-config'])
|
|
1980
|
+
: undefined,
|
|
1898
1981
|
extraOpcodeBudget: data['extra-opcode-budget'],
|
|
1899
1982
|
});
|
|
1900
1983
|
/* eslint-enable dot-notation */
|
|
@@ -1941,18 +2024,21 @@ class SimulateResponse extends basemodel_1.default {
|
|
|
1941
2024
|
* @param evalOverrides - The set of parameters and limits override during simulation. If this set of
|
|
1942
2025
|
* parameters is present, then evaluation parameters may differ from standard
|
|
1943
2026
|
* evaluation in certain ways.
|
|
2027
|
+
* @param execTraceConfig - An object that configures simulation execution trace.
|
|
1944
2028
|
*/
|
|
1945
|
-
constructor({ lastRound, txnGroups, version, evalOverrides, }) {
|
|
2029
|
+
constructor({ lastRound, txnGroups, version, evalOverrides, execTraceConfig, }) {
|
|
1946
2030
|
super();
|
|
1947
2031
|
this.lastRound = lastRound;
|
|
1948
2032
|
this.txnGroups = txnGroups;
|
|
1949
2033
|
this.version = version;
|
|
1950
2034
|
this.evalOverrides = evalOverrides;
|
|
2035
|
+
this.execTraceConfig = execTraceConfig;
|
|
1951
2036
|
this.attribute_map = {
|
|
1952
2037
|
lastRound: 'last-round',
|
|
1953
2038
|
txnGroups: 'txn-groups',
|
|
1954
2039
|
version: 'version',
|
|
1955
2040
|
evalOverrides: 'eval-overrides',
|
|
2041
|
+
execTraceConfig: 'exec-trace-config',
|
|
1956
2042
|
};
|
|
1957
2043
|
}
|
|
1958
2044
|
// eslint-disable-next-line camelcase
|
|
@@ -1971,11 +2057,49 @@ class SimulateResponse extends basemodel_1.default {
|
|
|
1971
2057
|
evalOverrides: typeof data['eval-overrides'] !== 'undefined'
|
|
1972
2058
|
? SimulationEvalOverrides.from_obj_for_encoding(data['eval-overrides'])
|
|
1973
2059
|
: undefined,
|
|
2060
|
+
execTraceConfig: typeof data['exec-trace-config'] !== 'undefined'
|
|
2061
|
+
? SimulateTraceConfig.from_obj_for_encoding(data['exec-trace-config'])
|
|
2062
|
+
: undefined,
|
|
1974
2063
|
});
|
|
1975
2064
|
/* eslint-enable dot-notation */
|
|
1976
2065
|
}
|
|
1977
2066
|
}
|
|
1978
2067
|
exports.SimulateResponse = SimulateResponse;
|
|
2068
|
+
/**
|
|
2069
|
+
* An object that configures simulation execution trace.
|
|
2070
|
+
*/
|
|
2071
|
+
class SimulateTraceConfig extends basemodel_1.default {
|
|
2072
|
+
/**
|
|
2073
|
+
* Creates a new `SimulateTraceConfig` object.
|
|
2074
|
+
* @param enable - A boolean option for opting in execution trace features simulation endpoint.
|
|
2075
|
+
* @param scratchChange - A boolean option enabling returning scratch slot changes together with execution
|
|
2076
|
+
* trace during simulation.
|
|
2077
|
+
* @param stackChange - A boolean option enabling returning stack changes together with execution trace
|
|
2078
|
+
* during simulation.
|
|
2079
|
+
*/
|
|
2080
|
+
constructor({ enable, scratchChange, stackChange, }) {
|
|
2081
|
+
super();
|
|
2082
|
+
this.enable = enable;
|
|
2083
|
+
this.scratchChange = scratchChange;
|
|
2084
|
+
this.stackChange = stackChange;
|
|
2085
|
+
this.attribute_map = {
|
|
2086
|
+
enable: 'enable',
|
|
2087
|
+
scratchChange: 'scratch-change',
|
|
2088
|
+
stackChange: 'stack-change',
|
|
2089
|
+
};
|
|
2090
|
+
}
|
|
2091
|
+
// eslint-disable-next-line camelcase
|
|
2092
|
+
static from_obj_for_encoding(data) {
|
|
2093
|
+
/* eslint-disable dot-notation */
|
|
2094
|
+
return new SimulateTraceConfig({
|
|
2095
|
+
enable: data['enable'],
|
|
2096
|
+
scratchChange: data['scratch-change'],
|
|
2097
|
+
stackChange: data['stack-change'],
|
|
2098
|
+
});
|
|
2099
|
+
/* eslint-enable dot-notation */
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
exports.SimulateTraceConfig = SimulateTraceConfig;
|
|
1979
2103
|
/**
|
|
1980
2104
|
* Simulation result for an atomic transaction group
|
|
1981
2105
|
*/
|
|
@@ -2033,16 +2157,20 @@ class SimulateTransactionResult extends basemodel_1.default {
|
|
|
2033
2157
|
* includes confirmation details like the round and reward details.
|
|
2034
2158
|
* @param appBudgetConsumed - Budget used during execution of an app call transaction. This value includes
|
|
2035
2159
|
* budged used by inner app calls spawned by this transaction.
|
|
2160
|
+
* @param execTrace - The execution trace of calling an app or a logic sig, containing the inner app
|
|
2161
|
+
* call trace in a recursive way.
|
|
2036
2162
|
* @param logicSigBudgetConsumed - Budget used during execution of a logic sig transaction.
|
|
2037
2163
|
*/
|
|
2038
|
-
constructor({ txnResult, appBudgetConsumed, logicSigBudgetConsumed, }) {
|
|
2164
|
+
constructor({ txnResult, appBudgetConsumed, execTrace, logicSigBudgetConsumed, }) {
|
|
2039
2165
|
super();
|
|
2040
2166
|
this.txnResult = txnResult;
|
|
2041
2167
|
this.appBudgetConsumed = appBudgetConsumed;
|
|
2168
|
+
this.execTrace = execTrace;
|
|
2042
2169
|
this.logicSigBudgetConsumed = logicSigBudgetConsumed;
|
|
2043
2170
|
this.attribute_map = {
|
|
2044
2171
|
txnResult: 'txn-result',
|
|
2045
2172
|
appBudgetConsumed: 'app-budget-consumed',
|
|
2173
|
+
execTrace: 'exec-trace',
|
|
2046
2174
|
logicSigBudgetConsumed: 'logic-sig-budget-consumed',
|
|
2047
2175
|
};
|
|
2048
2176
|
}
|
|
@@ -2054,6 +2182,9 @@ class SimulateTransactionResult extends basemodel_1.default {
|
|
|
2054
2182
|
return new SimulateTransactionResult({
|
|
2055
2183
|
txnResult: PendingTransactionResponse.from_obj_for_encoding(data['txn-result']),
|
|
2056
2184
|
appBudgetConsumed: data['app-budget-consumed'],
|
|
2185
|
+
execTrace: typeof data['exec-trace'] !== 'undefined'
|
|
2186
|
+
? SimulationTransactionExecTrace.from_obj_for_encoding(data['exec-trace'])
|
|
2187
|
+
: undefined,
|
|
2057
2188
|
logicSigBudgetConsumed: data['logic-sig-budget-consumed'],
|
|
2058
2189
|
});
|
|
2059
2190
|
/* eslint-enable dot-notation */
|
|
@@ -2100,6 +2231,100 @@ class SimulationEvalOverrides extends basemodel_1.default {
|
|
|
2100
2231
|
}
|
|
2101
2232
|
}
|
|
2102
2233
|
exports.SimulationEvalOverrides = SimulationEvalOverrides;
|
|
2234
|
+
/**
|
|
2235
|
+
* The set of trace information and effect from evaluating a single opcode.
|
|
2236
|
+
*/
|
|
2237
|
+
class SimulationOpcodeTraceUnit extends basemodel_1.default {
|
|
2238
|
+
/**
|
|
2239
|
+
* Creates a new `SimulationOpcodeTraceUnit` object.
|
|
2240
|
+
* @param pc - The program counter of the current opcode being evaluated.
|
|
2241
|
+
* @param scratchChanges - The writes into scratch slots.
|
|
2242
|
+
* @param spawnedInners - The indexes of the traces for inner transactions spawned by this opcode, if any.
|
|
2243
|
+
* @param stackAdditions - The values added by this opcode to the stack.
|
|
2244
|
+
* @param stackPopCount - The number of deleted stack values by this opcode.
|
|
2245
|
+
*/
|
|
2246
|
+
constructor({ pc, scratchChanges, spawnedInners, stackAdditions, stackPopCount, }) {
|
|
2247
|
+
super();
|
|
2248
|
+
this.pc = pc;
|
|
2249
|
+
this.scratchChanges = scratchChanges;
|
|
2250
|
+
this.spawnedInners = spawnedInners;
|
|
2251
|
+
this.stackAdditions = stackAdditions;
|
|
2252
|
+
this.stackPopCount = stackPopCount;
|
|
2253
|
+
this.attribute_map = {
|
|
2254
|
+
pc: 'pc',
|
|
2255
|
+
scratchChanges: 'scratch-changes',
|
|
2256
|
+
spawnedInners: 'spawned-inners',
|
|
2257
|
+
stackAdditions: 'stack-additions',
|
|
2258
|
+
stackPopCount: 'stack-pop-count',
|
|
2259
|
+
};
|
|
2260
|
+
}
|
|
2261
|
+
// eslint-disable-next-line camelcase
|
|
2262
|
+
static from_obj_for_encoding(data) {
|
|
2263
|
+
/* eslint-disable dot-notation */
|
|
2264
|
+
if (typeof data['pc'] === 'undefined')
|
|
2265
|
+
throw new Error(`Response is missing required field 'pc': ${data}`);
|
|
2266
|
+
return new SimulationOpcodeTraceUnit({
|
|
2267
|
+
pc: data['pc'],
|
|
2268
|
+
scratchChanges: typeof data['scratch-changes'] !== 'undefined'
|
|
2269
|
+
? data['scratch-changes'].map(ScratchChange.from_obj_for_encoding)
|
|
2270
|
+
: undefined,
|
|
2271
|
+
spawnedInners: data['spawned-inners'],
|
|
2272
|
+
stackAdditions: typeof data['stack-additions'] !== 'undefined'
|
|
2273
|
+
? data['stack-additions'].map(AvmValue.from_obj_for_encoding)
|
|
2274
|
+
: undefined,
|
|
2275
|
+
stackPopCount: data['stack-pop-count'],
|
|
2276
|
+
});
|
|
2277
|
+
/* eslint-enable dot-notation */
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
exports.SimulationOpcodeTraceUnit = SimulationOpcodeTraceUnit;
|
|
2281
|
+
/**
|
|
2282
|
+
* The execution trace of calling an app or a logic sig, containing the inner app
|
|
2283
|
+
* call trace in a recursive way.
|
|
2284
|
+
*/
|
|
2285
|
+
class SimulationTransactionExecTrace extends basemodel_1.default {
|
|
2286
|
+
/**
|
|
2287
|
+
* Creates a new `SimulationTransactionExecTrace` object.
|
|
2288
|
+
* @param approvalProgramTrace - Program trace that contains a trace of opcode effects in an approval program.
|
|
2289
|
+
* @param clearStateProgramTrace - Program trace that contains a trace of opcode effects in a clear state program.
|
|
2290
|
+
* @param innerTrace - An array of SimulationTransactionExecTrace representing the execution trace of
|
|
2291
|
+
* any inner transactions executed.
|
|
2292
|
+
* @param logicSigTrace - Program trace that contains a trace of opcode effects in a logic sig.
|
|
2293
|
+
*/
|
|
2294
|
+
constructor({ approvalProgramTrace, clearStateProgramTrace, innerTrace, logicSigTrace, }) {
|
|
2295
|
+
super();
|
|
2296
|
+
this.approvalProgramTrace = approvalProgramTrace;
|
|
2297
|
+
this.clearStateProgramTrace = clearStateProgramTrace;
|
|
2298
|
+
this.innerTrace = innerTrace;
|
|
2299
|
+
this.logicSigTrace = logicSigTrace;
|
|
2300
|
+
this.attribute_map = {
|
|
2301
|
+
approvalProgramTrace: 'approval-program-trace',
|
|
2302
|
+
clearStateProgramTrace: 'clear-state-program-trace',
|
|
2303
|
+
innerTrace: 'inner-trace',
|
|
2304
|
+
logicSigTrace: 'logic-sig-trace',
|
|
2305
|
+
};
|
|
2306
|
+
}
|
|
2307
|
+
// eslint-disable-next-line camelcase
|
|
2308
|
+
static from_obj_for_encoding(data) {
|
|
2309
|
+
/* eslint-disable dot-notation */
|
|
2310
|
+
return new SimulationTransactionExecTrace({
|
|
2311
|
+
approvalProgramTrace: typeof data['approval-program-trace'] !== 'undefined'
|
|
2312
|
+
? data['approval-program-trace'].map(SimulationOpcodeTraceUnit.from_obj_for_encoding)
|
|
2313
|
+
: undefined,
|
|
2314
|
+
clearStateProgramTrace: typeof data['clear-state-program-trace'] !== 'undefined'
|
|
2315
|
+
? data['clear-state-program-trace'].map(SimulationOpcodeTraceUnit.from_obj_for_encoding)
|
|
2316
|
+
: undefined,
|
|
2317
|
+
innerTrace: typeof data['inner-trace'] !== 'undefined'
|
|
2318
|
+
? data['inner-trace'].map(SimulationTransactionExecTrace.from_obj_for_encoding)
|
|
2319
|
+
: undefined,
|
|
2320
|
+
logicSigTrace: typeof data['logic-sig-trace'] !== 'undefined'
|
|
2321
|
+
? data['logic-sig-trace'].map(SimulationOpcodeTraceUnit.from_obj_for_encoding)
|
|
2322
|
+
: undefined,
|
|
2323
|
+
});
|
|
2324
|
+
/* eslint-enable dot-notation */
|
|
2325
|
+
}
|
|
2326
|
+
}
|
|
2327
|
+
exports.SimulationTransactionExecTrace = SimulationTransactionExecTrace;
|
|
2103
2328
|
/**
|
|
2104
2329
|
* Represents a state proof and its corresponding message
|
|
2105
2330
|
*/
|
|
@@ -2319,7 +2544,7 @@ class TransactionGroupLedgerStateDeltasForRoundResponse extends basemodel_1.defa
|
|
|
2319
2544
|
super();
|
|
2320
2545
|
this.deltas = deltas;
|
|
2321
2546
|
this.attribute_map = {
|
|
2322
|
-
deltas: '
|
|
2547
|
+
deltas: 'Deltas',
|
|
2323
2548
|
};
|
|
2324
2549
|
}
|
|
2325
2550
|
// eslint-disable-next-line camelcase
|