@sig-net/midnight 0.27.0-rc.5 → 0.27.0-rc.6
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/abi-serde.d.ts +2 -2
- package/dist/abi-serde.d.ts.map +1 -1
- package/dist/abi-serde.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/managed/compiler/contract-info.json +23 -23
- package/dist/managed/compiler/contract-manifest.json +8 -8
- package/dist/managed/contract/index.d.ts +301 -293
- package/dist/managed/contract/index.js +99 -99
- package/dist/managed/contract/index.js.map +1 -1
- package/dist/signature-requests-state-reader.js +3 -3
- package/dist/signature-requests-state-reader.js.map +1 -1
- package/dist/signet-request-id.js +5 -5
- package/dist/signet-request-id.js.map +1 -1
- package/dist/signet-request-response-reader.d.ts +2 -2
- package/dist/signet-request-response-reader.d.ts.map +1 -1
- package/dist/signet-request-response-reader.js +4 -4
- package/dist/signet-request-response-reader.js.map +1 -1
- package/dist/signet-requests.d.ts +5 -5
- package/dist/signet-requests.d.ts.map +1 -1
- package/dist/signet-requests.js +3 -3
- package/dist/signet-requests.js.map +1 -1
- package/dist/signet-tron-record-decoding.d.ts +2 -2
- package/dist/signet-tron-record-decoding.d.ts.map +1 -1
- package/dist/signet-tron-record-decoding.js +2 -2
- package/dist/signet-tron-record-decoding.js.map +1 -1
- package/dist/signet-tron-requests.d.ts +7 -7
- package/dist/signet-tron-requests.d.ts.map +1 -1
- package/dist/signet-tron-requests.js +11 -7
- package/dist/signet-tron-requests.js.map +1 -1
- package/dist/tron-node-api.d.ts +3 -3
- package/dist/tron-node-api.d.ts.map +1 -1
- package/dist/tron-transactions.d.ts +3 -3
- package/dist/tron-transactions.d.ts.map +1 -1
- package/dist/tron-transactions.js +1 -1
- package/dist/tron-transactions.js.map +1 -1
- package/package.json +2 -2
- package/src/Signet.compact +14 -14
- package/src/circuits.compact +22 -20
|
@@ -10,8 +10,8 @@ export var HashDomain;
|
|
|
10
10
|
HashDomain[HashDomain['evmType2TxAccessEntry'] = 4] = 'evmType2TxAccessEntry';
|
|
11
11
|
HashDomain[HashDomain['evmType2TxStorageKey'] = 5] = 'evmType2TxStorageKey';
|
|
12
12
|
HashDomain[HashDomain['attestedOutput'] = 6] = 'attestedOutput';
|
|
13
|
-
HashDomain[HashDomain['
|
|
14
|
-
HashDomain[HashDomain['
|
|
13
|
+
HashDomain[HashDomain['tronTriggerSmartContractTxHeader'] = 7] = 'tronTriggerSmartContractTxHeader';
|
|
14
|
+
HashDomain[HashDomain['tronTriggerSmartContractTxWord'] = 8] = 'tronTriggerSmartContractTxWord';
|
|
15
15
|
})(HashDomain || (HashDomain = {}));
|
|
16
16
|
|
|
17
17
|
export var OutputKind;
|
|
@@ -74,7 +74,7 @@ class _Maybe_0 {
|
|
|
74
74
|
|
|
75
75
|
const _descriptor_10 = new _Maybe_0();
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class _TronTriggerSmartContractTxParams_0 {
|
|
78
78
|
alignment() {
|
|
79
79
|
return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_3.alignment().concat(_descriptor_2.alignment().concat(_descriptor_10.alignment())))))));
|
|
80
80
|
}
|
|
@@ -95,7 +95,7 @@ class _TronTxParams_0 {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
const _descriptor_11 = new
|
|
98
|
+
const _descriptor_11 = new _TronTriggerSmartContractTxParams_0();
|
|
99
99
|
|
|
100
100
|
const _descriptor_12 = new __compactRuntime.CompactTypeUnsignedInteger(255n, 1);
|
|
101
101
|
|
|
@@ -156,7 +156,7 @@ class _Maybe_1 {
|
|
|
156
156
|
|
|
157
157
|
const _descriptor_18 = new _Maybe_1();
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class _TronTriggerSmartContractTxParams_1 {
|
|
160
160
|
alignment() {
|
|
161
161
|
return _descriptor_0.alignment().concat(_descriptor_1.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_2.alignment().concat(_descriptor_3.alignment().concat(_descriptor_2.alignment().concat(_descriptor_18.alignment())))))));
|
|
162
162
|
}
|
|
@@ -177,7 +177,7 @@ class _TronTxParams_1 {
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
const _descriptor_19 = new
|
|
180
|
+
const _descriptor_19 = new _TronTriggerSmartContractTxParams_1();
|
|
181
181
|
|
|
182
182
|
const _descriptor_20 = new __compactRuntime.CompactTypeBytes(64);
|
|
183
183
|
|
|
@@ -1020,26 +1020,26 @@ export class Contract {
|
|
|
1020
1020
|
async constructSignBidirectionalEventV1_1_0_0_34(context, ...args_1) {
|
|
1021
1021
|
return { result: pureCircuits.constructSignBidirectionalEventV1_1_0_0_34(...args_1), context };
|
|
1022
1022
|
},
|
|
1023
|
-
async
|
|
1024
|
-
return { result: pureCircuits.
|
|
1023
|
+
async calculateTronTriggerSmartContractTxParamsDigestV1_1(context, ...args_1) {
|
|
1024
|
+
return { result: pureCircuits.calculateTronTriggerSmartContractTxParamsDigestV1_1(...args_1), context };
|
|
1025
1025
|
},
|
|
1026
|
-
async
|
|
1027
|
-
return { result: pureCircuits.
|
|
1026
|
+
async calculateTronTriggerSmartContractTxParamsDigestV1_2(context, ...args_1) {
|
|
1027
|
+
return { result: pureCircuits.calculateTronTriggerSmartContractTxParamsDigestV1_2(...args_1), context };
|
|
1028
1028
|
},
|
|
1029
|
-
async
|
|
1030
|
-
return { result: pureCircuits.
|
|
1029
|
+
async calculateTronTriggerSmartContractRequestIdV1_1_0(context, ...args_1) {
|
|
1030
|
+
return { result: pureCircuits.calculateTronTriggerSmartContractRequestIdV1_1_0(...args_1), context };
|
|
1031
1031
|
},
|
|
1032
|
-
async
|
|
1033
|
-
return { result: pureCircuits.
|
|
1032
|
+
async calculateTronTriggerSmartContractRequestIdV1_2_0(context, ...args_1) {
|
|
1033
|
+
return { result: pureCircuits.calculateTronTriggerSmartContractRequestIdV1_2_0(...args_1), context };
|
|
1034
1034
|
},
|
|
1035
|
-
async
|
|
1036
|
-
return { result: pureCircuits.
|
|
1035
|
+
async calculateTronTriggerSmartContractRequestIdV1_1_34(context, ...args_1) {
|
|
1036
|
+
return { result: pureCircuits.calculateTronTriggerSmartContractRequestIdV1_1_34(...args_1), context };
|
|
1037
1037
|
},
|
|
1038
|
-
async
|
|
1039
|
-
return { result: pureCircuits.
|
|
1038
|
+
async calculateTronTriggerSmartContractRequestIdV1_2_34(context, ...args_1) {
|
|
1039
|
+
return { result: pureCircuits.calculateTronTriggerSmartContractRequestIdV1_2_34(...args_1), context };
|
|
1040
1040
|
},
|
|
1041
|
-
async
|
|
1042
|
-
return { result: pureCircuits.
|
|
1041
|
+
async assertTronTriggerSmartContractTxParamsV1_2(context, ...args_1) {
|
|
1042
|
+
return { result: pureCircuits.assertTronTriggerSmartContractTxParamsV1_2(...args_1), context };
|
|
1043
1043
|
}
|
|
1044
1044
|
};
|
|
1045
1045
|
this.impureCircuits = {
|
|
@@ -1669,7 +1669,7 @@ export class Contract {
|
|
|
1669
1669
|
_tronAddress_0(evmAddress_0) {
|
|
1670
1670
|
return Uint8Array.from([65n, ...Array.from(evmAddress_0, BigInt)], Number);
|
|
1671
1671
|
}
|
|
1672
|
-
|
|
1672
|
+
_calculateTronTriggerSmartContractTxParamsDigestV1_0(txParams_0) {
|
|
1673
1673
|
const calldata_0 = txParams_0.calldata;
|
|
1674
1674
|
const noWords_0 = calldata_0.is_some ? calldata_0.value.noWords : 0n;
|
|
1675
1675
|
const selector_0 = calldata_0.is_some ?
|
|
@@ -1709,7 +1709,7 @@ export class Contract {
|
|
|
1709
1709
|
calldata_0.value.words);
|
|
1710
1710
|
return this._upgradeFromTransient_0(wordsScan_0[1]);
|
|
1711
1711
|
}
|
|
1712
|
-
|
|
1712
|
+
_calculateTronTriggerSmartContractTxParamsDigestV1_1(txParams_0) {
|
|
1713
1713
|
const calldata_0 = txParams_0.calldata;
|
|
1714
1714
|
const noWords_0 = calldata_0.is_some ? calldata_0.value.noWords : 0n;
|
|
1715
1715
|
const selector_0 = calldata_0.is_some ?
|
|
@@ -1749,61 +1749,61 @@ export class Contract {
|
|
|
1749
1749
|
calldata_0.value.words);
|
|
1750
1750
|
return this._upgradeFromTransient_0(wordsScan_0[1]);
|
|
1751
1751
|
}
|
|
1752
|
-
|
|
1752
|
+
_calculateTronTriggerSmartContractRequestIdV1_0(request_0) {
|
|
1753
1753
|
__compactRuntime.assert(request_0.txParamType === 1,
|
|
1754
|
-
'txParamType must tag txParams as
|
|
1754
|
+
'txParamType must tag txParams as tronTriggerSmartContract');
|
|
1755
1755
|
const preimage_0 = { keyVersion: request_0.keyVersion,
|
|
1756
1756
|
sender: request_0.sender,
|
|
1757
1757
|
path: request_0.path,
|
|
1758
1758
|
algo: request_0.algo,
|
|
1759
1759
|
txParamType: request_0.txParamType,
|
|
1760
1760
|
txParamsDigest:
|
|
1761
|
-
this.
|
|
1761
|
+
this._calculateTronTriggerSmartContractTxParamsDigestV1_0(request_0.txParams),
|
|
1762
1762
|
executionDest: request_0.executionDest };
|
|
1763
1763
|
return this._calculateRequestIdV1_0(preimage_0);
|
|
1764
1764
|
}
|
|
1765
|
-
|
|
1765
|
+
_calculateTronTriggerSmartContractRequestIdV1_1(request_0) {
|
|
1766
1766
|
__compactRuntime.assert(request_0.txParamType === 1,
|
|
1767
|
-
'txParamType must tag txParams as
|
|
1767
|
+
'txParamType must tag txParams as tronTriggerSmartContract');
|
|
1768
1768
|
const preimage_0 = { keyVersion: request_0.keyVersion,
|
|
1769
1769
|
sender: request_0.sender,
|
|
1770
1770
|
path: request_0.path,
|
|
1771
1771
|
algo: request_0.algo,
|
|
1772
1772
|
txParamType: request_0.txParamType,
|
|
1773
1773
|
txParamsDigest:
|
|
1774
|
-
this.
|
|
1774
|
+
this._calculateTronTriggerSmartContractTxParamsDigestV1_1(request_0.txParams),
|
|
1775
1775
|
executionDest: request_0.executionDest };
|
|
1776
1776
|
return this._calculateRequestIdV1_0(preimage_0);
|
|
1777
1777
|
}
|
|
1778
|
-
|
|
1778
|
+
_calculateTronTriggerSmartContractRequestIdV1_2(request_0) {
|
|
1779
1779
|
__compactRuntime.assert(request_0.txParamType === 1,
|
|
1780
|
-
'txParamType must tag txParams as
|
|
1780
|
+
'txParamType must tag txParams as tronTriggerSmartContract');
|
|
1781
1781
|
const preimage_0 = { keyVersion: request_0.keyVersion,
|
|
1782
1782
|
sender: request_0.sender,
|
|
1783
1783
|
path: request_0.path,
|
|
1784
1784
|
algo: request_0.algo,
|
|
1785
1785
|
txParamType: request_0.txParamType,
|
|
1786
1786
|
txParamsDigest:
|
|
1787
|
-
this.
|
|
1787
|
+
this._calculateTronTriggerSmartContractTxParamsDigestV1_0(request_0.txParams),
|
|
1788
1788
|
executionDest: request_0.executionDest };
|
|
1789
1789
|
return this._calculateRequestIdV1_0(preimage_0);
|
|
1790
1790
|
}
|
|
1791
|
-
|
|
1791
|
+
_calculateTronTriggerSmartContractRequestIdV1_3(request_0) {
|
|
1792
1792
|
__compactRuntime.assert(request_0.txParamType === 1,
|
|
1793
|
-
'txParamType must tag txParams as
|
|
1793
|
+
'txParamType must tag txParams as tronTriggerSmartContract');
|
|
1794
1794
|
const preimage_0 = { keyVersion: request_0.keyVersion,
|
|
1795
1795
|
sender: request_0.sender,
|
|
1796
1796
|
path: request_0.path,
|
|
1797
1797
|
algo: request_0.algo,
|
|
1798
1798
|
txParamType: request_0.txParamType,
|
|
1799
1799
|
txParamsDigest:
|
|
1800
|
-
this.
|
|
1800
|
+
this._calculateTronTriggerSmartContractTxParamsDigestV1_1(request_0.txParams),
|
|
1801
1801
|
executionDest: request_0.executionDest };
|
|
1802
1802
|
return this._calculateRequestIdV1_0(preimage_0);
|
|
1803
1803
|
}
|
|
1804
1804
|
_tronInt64Max_0() { return 9223372036854775807n; }
|
|
1805
1805
|
_tronMaxExpirationSpanSeconds_0() { return 86400n; }
|
|
1806
|
-
|
|
1806
|
+
_assertTronTriggerSmartContractTxParamsV1_0(txParams_0) {
|
|
1807
1807
|
let t_0;
|
|
1808
1808
|
__compactRuntime.assert((t_0 = txParams_0.timestamp,
|
|
1809
1809
|
t_0 <= this._tronInt64Max_0()),
|
|
@@ -2068,26 +2068,26 @@ export class Contract {
|
|
|
2068
2068
|
request_0.params,
|
|
2069
2069
|
request_0.outputDeserializationSchema);
|
|
2070
2070
|
}
|
|
2071
|
-
|
|
2072
|
-
return this.
|
|
2071
|
+
_calculateTronTriggerSmartContractTxParamsDigestV1_1_0(txParams_0) {
|
|
2072
|
+
return this._calculateTronTriggerSmartContractTxParamsDigestV1_0(txParams_0);
|
|
2073
2073
|
}
|
|
2074
|
-
|
|
2075
|
-
return this.
|
|
2074
|
+
_calculateTronTriggerSmartContractTxParamsDigestV1_2_0(txParams_0) {
|
|
2075
|
+
return this._calculateTronTriggerSmartContractTxParamsDigestV1_1(txParams_0);
|
|
2076
2076
|
}
|
|
2077
|
-
|
|
2078
|
-
return this.
|
|
2077
|
+
_calculateTronTriggerSmartContractRequestIdV1_1_0_0(request_0) {
|
|
2078
|
+
return this._calculateTronTriggerSmartContractRequestIdV1_0(request_0);
|
|
2079
2079
|
}
|
|
2080
|
-
|
|
2081
|
-
return this.
|
|
2080
|
+
_calculateTronTriggerSmartContractRequestIdV1_2_0_0(request_0) {
|
|
2081
|
+
return this._calculateTronTriggerSmartContractRequestIdV1_1(request_0);
|
|
2082
2082
|
}
|
|
2083
|
-
|
|
2084
|
-
return this.
|
|
2083
|
+
_calculateTronTriggerSmartContractRequestIdV1_1_34_0(request_0) {
|
|
2084
|
+
return this._calculateTronTriggerSmartContractRequestIdV1_2(request_0);
|
|
2085
2085
|
}
|
|
2086
|
-
|
|
2087
|
-
return this.
|
|
2086
|
+
_calculateTronTriggerSmartContractRequestIdV1_2_34_0(request_0) {
|
|
2087
|
+
return this._calculateTronTriggerSmartContractRequestIdV1_3(request_0);
|
|
2088
2088
|
}
|
|
2089
|
-
|
|
2090
|
-
this.
|
|
2089
|
+
_assertTronTriggerSmartContractTxParamsV1_2_0(txParams_0) {
|
|
2090
|
+
this._assertTronTriggerSmartContractTxParamsV1_0(txParams_0); return [];
|
|
2091
2091
|
}
|
|
2092
2092
|
_equal_0(x0, y0) {
|
|
2093
2093
|
if (x0.identity) { return y0.identity; }
|
|
@@ -2202,7 +2202,7 @@ export const pureCircuits = {
|
|
|
2202
2202
|
__compactRuntime.typeError('calculateRequestIdV1',
|
|
2203
2203
|
'argument 1',
|
|
2204
2204
|
'Signet.compact line 235 char 3',
|
|
2205
|
-
'struct RequestIdPreimageV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2,
|
|
2205
|
+
'struct RequestIdPreimageV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tronTriggerSmartContract>, txParamsDigest: Bytes<32>, executionDest: Bytes<64>>',
|
|
2206
2206
|
preimage_0)
|
|
2207
2207
|
}
|
|
2208
2208
|
return _dummyContract._calculateRequestIdV1_0(preimage_0);
|
|
@@ -2605,7 +2605,7 @@ export const pureCircuits = {
|
|
|
2605
2605
|
__compactRuntime.typeError('calculateEvmType2RequestIdV1_1_0_0_34',
|
|
2606
2606
|
'argument 1',
|
|
2607
2607
|
'circuits.compact line 110 char 1',
|
|
2608
|
-
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2,
|
|
2608
|
+
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tronTriggerSmartContract>, txParams: struct EvmType2TxParams<chainId: Uint<0..18446744073709551616>, nonce: Uint<0..18446744073709551616>, maxPriorityFeePerGas: Uint<0..340282366920938463463374607431768211456>, maxFeePerGas: Uint<0..340282366920938463463374607431768211456>, gasLimit: Uint<0..18446744073709551616>, to: Bytes<20>, value: Uint<0..340282366920938463463374607431768211456>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>, accessListEntryCount: Uint<0..256>, accessList: Vector<0, struct EvmAccessListEntry<address: Bytes<20>, storageKeyCount: Uint<0..256>, storageKeys: Vector<0, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
|
|
2609
2609
|
request_0)
|
|
2610
2610
|
}
|
|
2611
2611
|
return _dummyContract._calculateEvmType2RequestIdV1_1_0_0_34_0(request_0);
|
|
@@ -2619,7 +2619,7 @@ export const pureCircuits = {
|
|
|
2619
2619
|
__compactRuntime.typeError('calculateEvmType2RequestIdV1_2_1_2_34',
|
|
2620
2620
|
'argument 1',
|
|
2621
2621
|
'circuits.compact line 116 char 1',
|
|
2622
|
-
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2,
|
|
2622
|
+
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tronTriggerSmartContract>, txParams: struct EvmType2TxParams<chainId: Uint<0..18446744073709551616>, nonce: Uint<0..18446744073709551616>, maxPriorityFeePerGas: Uint<0..340282366920938463463374607431768211456>, maxFeePerGas: Uint<0..340282366920938463463374607431768211456>, gasLimit: Uint<0..18446744073709551616>, to: Bytes<20>, value: Uint<0..340282366920938463463374607431768211456>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>, accessListEntryCount: Uint<0..256>, accessList: Vector<1, struct EvmAccessListEntry<address: Bytes<20>, storageKeyCount: Uint<0..256>, storageKeys: Vector<2, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
|
|
2623
2623
|
request_0)
|
|
2624
2624
|
}
|
|
2625
2625
|
return _dummyContract._calculateEvmType2RequestIdV1_2_1_2_34_0(request_0);
|
|
@@ -2697,114 +2697,114 @@ export const pureCircuits = {
|
|
|
2697
2697
|
__compactRuntime.typeError('constructSignBidirectionalEventV1_1_0_0_34',
|
|
2698
2698
|
'argument 1',
|
|
2699
2699
|
'circuits.compact line 146 char 1',
|
|
2700
|
-
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2,
|
|
2700
|
+
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tronTriggerSmartContract>, txParams: struct EvmType2TxParams<chainId: Uint<0..18446744073709551616>, nonce: Uint<0..18446744073709551616>, maxPriorityFeePerGas: Uint<0..340282366920938463463374607431768211456>, maxFeePerGas: Uint<0..340282366920938463463374607431768211456>, gasLimit: Uint<0..18446744073709551616>, to: Bytes<20>, value: Uint<0..340282366920938463463374607431768211456>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>, accessListEntryCount: Uint<0..256>, accessList: Vector<0, struct EvmAccessListEntry<address: Bytes<20>, storageKeyCount: Uint<0..256>, storageKeys: Vector<0, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
|
|
2701
2701
|
request_0)
|
|
2702
2702
|
}
|
|
2703
2703
|
return _dummyContract._constructSignBidirectionalEventV1_1_0_0_34_0(request_0);
|
|
2704
2704
|
},
|
|
2705
|
-
|
|
2705
|
+
calculateTronTriggerSmartContractTxParamsDigestV1_1: (...args_0) => {
|
|
2706
2706
|
if (args_0.length !== 1) {
|
|
2707
|
-
throw new __compactRuntime.CompactError(`
|
|
2707
|
+
throw new __compactRuntime.CompactError(`calculateTronTriggerSmartContractTxParamsDigestV1_1: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
|
|
2708
2708
|
}
|
|
2709
2709
|
const txParams_0 = args_0[0];
|
|
2710
2710
|
if (!(typeof(txParams_0) === 'object' && txParams_0.refBlockBytes.buffer instanceof ArrayBuffer && txParams_0.refBlockBytes.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockBytes.length === 2 && txParams_0.refBlockHash.buffer instanceof ArrayBuffer && txParams_0.refBlockHash.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockHash.length === 8 && typeof(txParams_0.timestamp) === 'bigint' && txParams_0.timestamp >= 0n && txParams_0.timestamp <= 18446744073709551615n && typeof(txParams_0.expiration) === 'bigint' && txParams_0.expiration >= 0n && txParams_0.expiration <= 18446744073709551615n && typeof(txParams_0.feeLimit) === 'bigint' && txParams_0.feeLimit >= 0n && txParams_0.feeLimit <= 18446744073709551615n && txParams_0.contractAddress.buffer instanceof ArrayBuffer && txParams_0.contractAddress.BYTES_PER_ELEMENT === 1 && txParams_0.contractAddress.length === 21 && typeof(txParams_0.callValue) === 'bigint' && txParams_0.callValue >= 0n && txParams_0.callValue <= 18446744073709551615n && typeof(txParams_0.calldata) === 'object' && typeof(txParams_0.calldata.is_some) === 'boolean' && typeof(txParams_0.calldata.value) === 'object' && txParams_0.calldata.value.selector.buffer instanceof ArrayBuffer && txParams_0.calldata.value.selector.BYTES_PER_ELEMENT === 1 && txParams_0.calldata.value.selector.length === 4 && typeof(txParams_0.calldata.value.noWords) === 'bigint' && txParams_0.calldata.value.noWords >= 0n && txParams_0.calldata.value.noWords <= 65535n && Array.isArray(txParams_0.calldata.value.words) && txParams_0.calldata.value.words.length === 1 && txParams_0.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32))) {
|
|
2711
|
-
__compactRuntime.typeError('
|
|
2711
|
+
__compactRuntime.typeError('calculateTronTriggerSmartContractTxParamsDigestV1_1',
|
|
2712
2712
|
'argument 1',
|
|
2713
2713
|
'circuits.compact line 163 char 1',
|
|
2714
|
-
'struct
|
|
2714
|
+
'struct TronTriggerSmartContractTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>>',
|
|
2715
2715
|
txParams_0)
|
|
2716
2716
|
}
|
|
2717
|
-
return _dummyContract.
|
|
2717
|
+
return _dummyContract._calculateTronTriggerSmartContractTxParamsDigestV1_1_0(txParams_0);
|
|
2718
2718
|
},
|
|
2719
|
-
|
|
2719
|
+
calculateTronTriggerSmartContractTxParamsDigestV1_2: (...args_0) => {
|
|
2720
2720
|
if (args_0.length !== 1) {
|
|
2721
|
-
throw new __compactRuntime.CompactError(`
|
|
2721
|
+
throw new __compactRuntime.CompactError(`calculateTronTriggerSmartContractTxParamsDigestV1_2: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
|
|
2722
2722
|
}
|
|
2723
2723
|
const txParams_0 = args_0[0];
|
|
2724
2724
|
if (!(typeof(txParams_0) === 'object' && txParams_0.refBlockBytes.buffer instanceof ArrayBuffer && txParams_0.refBlockBytes.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockBytes.length === 2 && txParams_0.refBlockHash.buffer instanceof ArrayBuffer && txParams_0.refBlockHash.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockHash.length === 8 && typeof(txParams_0.timestamp) === 'bigint' && txParams_0.timestamp >= 0n && txParams_0.timestamp <= 18446744073709551615n && typeof(txParams_0.expiration) === 'bigint' && txParams_0.expiration >= 0n && txParams_0.expiration <= 18446744073709551615n && typeof(txParams_0.feeLimit) === 'bigint' && txParams_0.feeLimit >= 0n && txParams_0.feeLimit <= 18446744073709551615n && txParams_0.contractAddress.buffer instanceof ArrayBuffer && txParams_0.contractAddress.BYTES_PER_ELEMENT === 1 && txParams_0.contractAddress.length === 21 && typeof(txParams_0.callValue) === 'bigint' && txParams_0.callValue >= 0n && txParams_0.callValue <= 18446744073709551615n && typeof(txParams_0.calldata) === 'object' && typeof(txParams_0.calldata.is_some) === 'boolean' && typeof(txParams_0.calldata.value) === 'object' && txParams_0.calldata.value.selector.buffer instanceof ArrayBuffer && txParams_0.calldata.value.selector.BYTES_PER_ELEMENT === 1 && txParams_0.calldata.value.selector.length === 4 && typeof(txParams_0.calldata.value.noWords) === 'bigint' && txParams_0.calldata.value.noWords >= 0n && txParams_0.calldata.value.noWords <= 65535n && Array.isArray(txParams_0.calldata.value.words) && txParams_0.calldata.value.words.length === 2 && txParams_0.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32))) {
|
|
2725
|
-
__compactRuntime.typeError('
|
|
2725
|
+
__compactRuntime.typeError('calculateTronTriggerSmartContractTxParamsDigestV1_2',
|
|
2726
2726
|
'argument 1',
|
|
2727
2727
|
'circuits.compact line 169 char 1',
|
|
2728
|
-
'struct
|
|
2728
|
+
'struct TronTriggerSmartContractTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>>',
|
|
2729
2729
|
txParams_0)
|
|
2730
2730
|
}
|
|
2731
|
-
return _dummyContract.
|
|
2731
|
+
return _dummyContract._calculateTronTriggerSmartContractTxParamsDigestV1_2_0(txParams_0);
|
|
2732
2732
|
},
|
|
2733
|
-
|
|
2733
|
+
calculateTronTriggerSmartContractRequestIdV1_1_0: (...args_0) => {
|
|
2734
2734
|
if (args_0.length !== 1) {
|
|
2735
|
-
throw new __compactRuntime.CompactError(`
|
|
2735
|
+
throw new __compactRuntime.CompactError(`calculateTronTriggerSmartContractRequestIdV1_1_0: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
|
|
2736
2736
|
}
|
|
2737
2737
|
const request_0 = args_0[0];
|
|
2738
2738
|
if (!(typeof(request_0) === 'object' && typeof(request_0.keyVersion) === 'bigint' && request_0.keyVersion >= 0n && request_0.keyVersion <= 255n && typeof(request_0.sender) === 'object' && request_0.sender.bytes.buffer instanceof ArrayBuffer && request_0.sender.bytes.BYTES_PER_ELEMENT === 1 && request_0.sender.bytes.length === 32 && request_0.path.buffer instanceof ArrayBuffer && request_0.path.BYTES_PER_ELEMENT === 1 && request_0.path.length === 32 && typeof(request_0.algo) === 'number' && request_0.algo >= 0 && request_0.algo <= 1 && typeof(request_0.txParamType) === 'number' && request_0.txParamType >= 0 && request_0.txParamType <= 1 && typeof(request_0.txParams) === 'object' && request_0.txParams.refBlockBytes.buffer instanceof ArrayBuffer && request_0.txParams.refBlockBytes.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockBytes.length === 2 && request_0.txParams.refBlockHash.buffer instanceof ArrayBuffer && request_0.txParams.refBlockHash.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockHash.length === 8 && typeof(request_0.txParams.timestamp) === 'bigint' && request_0.txParams.timestamp >= 0n && request_0.txParams.timestamp <= 18446744073709551615n && typeof(request_0.txParams.expiration) === 'bigint' && request_0.txParams.expiration >= 0n && request_0.txParams.expiration <= 18446744073709551615n && typeof(request_0.txParams.feeLimit) === 'bigint' && request_0.txParams.feeLimit >= 0n && request_0.txParams.feeLimit <= 18446744073709551615n && request_0.txParams.contractAddress.buffer instanceof ArrayBuffer && request_0.txParams.contractAddress.BYTES_PER_ELEMENT === 1 && request_0.txParams.contractAddress.length === 21 && typeof(request_0.txParams.callValue) === 'bigint' && request_0.txParams.callValue >= 0n && request_0.txParams.callValue <= 18446744073709551615n && typeof(request_0.txParams.calldata) === 'object' && typeof(request_0.txParams.calldata.is_some) === 'boolean' && typeof(request_0.txParams.calldata.value) === 'object' && request_0.txParams.calldata.value.selector.buffer instanceof ArrayBuffer && request_0.txParams.calldata.value.selector.BYTES_PER_ELEMENT === 1 && request_0.txParams.calldata.value.selector.length === 4 && typeof(request_0.txParams.calldata.value.noWords) === 'bigint' && request_0.txParams.calldata.value.noWords >= 0n && request_0.txParams.calldata.value.noWords <= 65535n && Array.isArray(request_0.txParams.calldata.value.words) && request_0.txParams.calldata.value.words.length === 1 && request_0.txParams.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 64 && typeof(request_0.signatureDest) === 'number' && request_0.signatureDest >= 0 && request_0.signatureDest <= 1 && request_0.params.buffer instanceof ArrayBuffer && request_0.params.BYTES_PER_ELEMENT === 1 && request_0.params.length === 64 && request_0.outputDeserializationSchema.buffer instanceof ArrayBuffer && request_0.outputDeserializationSchema.BYTES_PER_ELEMENT === 1 && request_0.outputDeserializationSchema.length === 0 && request_0.respondSerializationSchema.buffer instanceof ArrayBuffer && request_0.respondSerializationSchema.BYTES_PER_ELEMENT === 1 && request_0.respondSerializationSchema.length === 0)) {
|
|
2739
|
-
__compactRuntime.typeError('
|
|
2739
|
+
__compactRuntime.typeError('calculateTronTriggerSmartContractRequestIdV1_1_0',
|
|
2740
2740
|
'argument 1',
|
|
2741
2741
|
'circuits.compact line 175 char 1',
|
|
2742
|
-
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2,
|
|
2742
|
+
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tronTriggerSmartContract>, txParams: struct TronTriggerSmartContractTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<0>, respondSerializationSchema: Bytes<0>>',
|
|
2743
2743
|
request_0)
|
|
2744
2744
|
}
|
|
2745
|
-
return _dummyContract.
|
|
2745
|
+
return _dummyContract._calculateTronTriggerSmartContractRequestIdV1_1_0_0(request_0);
|
|
2746
2746
|
},
|
|
2747
|
-
|
|
2747
|
+
calculateTronTriggerSmartContractRequestIdV1_2_0: (...args_0) => {
|
|
2748
2748
|
if (args_0.length !== 1) {
|
|
2749
|
-
throw new __compactRuntime.CompactError(`
|
|
2749
|
+
throw new __compactRuntime.CompactError(`calculateTronTriggerSmartContractRequestIdV1_2_0: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
|
|
2750
2750
|
}
|
|
2751
2751
|
const request_0 = args_0[0];
|
|
2752
2752
|
if (!(typeof(request_0) === 'object' && typeof(request_0.keyVersion) === 'bigint' && request_0.keyVersion >= 0n && request_0.keyVersion <= 255n && typeof(request_0.sender) === 'object' && request_0.sender.bytes.buffer instanceof ArrayBuffer && request_0.sender.bytes.BYTES_PER_ELEMENT === 1 && request_0.sender.bytes.length === 32 && request_0.path.buffer instanceof ArrayBuffer && request_0.path.BYTES_PER_ELEMENT === 1 && request_0.path.length === 32 && typeof(request_0.algo) === 'number' && request_0.algo >= 0 && request_0.algo <= 1 && typeof(request_0.txParamType) === 'number' && request_0.txParamType >= 0 && request_0.txParamType <= 1 && typeof(request_0.txParams) === 'object' && request_0.txParams.refBlockBytes.buffer instanceof ArrayBuffer && request_0.txParams.refBlockBytes.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockBytes.length === 2 && request_0.txParams.refBlockHash.buffer instanceof ArrayBuffer && request_0.txParams.refBlockHash.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockHash.length === 8 && typeof(request_0.txParams.timestamp) === 'bigint' && request_0.txParams.timestamp >= 0n && request_0.txParams.timestamp <= 18446744073709551615n && typeof(request_0.txParams.expiration) === 'bigint' && request_0.txParams.expiration >= 0n && request_0.txParams.expiration <= 18446744073709551615n && typeof(request_0.txParams.feeLimit) === 'bigint' && request_0.txParams.feeLimit >= 0n && request_0.txParams.feeLimit <= 18446744073709551615n && request_0.txParams.contractAddress.buffer instanceof ArrayBuffer && request_0.txParams.contractAddress.BYTES_PER_ELEMENT === 1 && request_0.txParams.contractAddress.length === 21 && typeof(request_0.txParams.callValue) === 'bigint' && request_0.txParams.callValue >= 0n && request_0.txParams.callValue <= 18446744073709551615n && typeof(request_0.txParams.calldata) === 'object' && typeof(request_0.txParams.calldata.is_some) === 'boolean' && typeof(request_0.txParams.calldata.value) === 'object' && request_0.txParams.calldata.value.selector.buffer instanceof ArrayBuffer && request_0.txParams.calldata.value.selector.BYTES_PER_ELEMENT === 1 && request_0.txParams.calldata.value.selector.length === 4 && typeof(request_0.txParams.calldata.value.noWords) === 'bigint' && request_0.txParams.calldata.value.noWords >= 0n && request_0.txParams.calldata.value.noWords <= 65535n && Array.isArray(request_0.txParams.calldata.value.words) && request_0.txParams.calldata.value.words.length === 2 && request_0.txParams.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 64 && typeof(request_0.signatureDest) === 'number' && request_0.signatureDest >= 0 && request_0.signatureDest <= 1 && request_0.params.buffer instanceof ArrayBuffer && request_0.params.BYTES_PER_ELEMENT === 1 && request_0.params.length === 64 && request_0.outputDeserializationSchema.buffer instanceof ArrayBuffer && request_0.outputDeserializationSchema.BYTES_PER_ELEMENT === 1 && request_0.outputDeserializationSchema.length === 0 && request_0.respondSerializationSchema.buffer instanceof ArrayBuffer && request_0.respondSerializationSchema.BYTES_PER_ELEMENT === 1 && request_0.respondSerializationSchema.length === 0)) {
|
|
2753
|
-
__compactRuntime.typeError('
|
|
2753
|
+
__compactRuntime.typeError('calculateTronTriggerSmartContractRequestIdV1_2_0',
|
|
2754
2754
|
'argument 1',
|
|
2755
2755
|
'circuits.compact line 181 char 1',
|
|
2756
|
-
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2,
|
|
2756
|
+
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tronTriggerSmartContract>, txParams: struct TronTriggerSmartContractTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<0>, respondSerializationSchema: Bytes<0>>',
|
|
2757
2757
|
request_0)
|
|
2758
2758
|
}
|
|
2759
|
-
return _dummyContract.
|
|
2759
|
+
return _dummyContract._calculateTronTriggerSmartContractRequestIdV1_2_0_0(request_0);
|
|
2760
2760
|
},
|
|
2761
|
-
|
|
2761
|
+
calculateTronTriggerSmartContractRequestIdV1_1_34: (...args_0) => {
|
|
2762
2762
|
if (args_0.length !== 1) {
|
|
2763
|
-
throw new __compactRuntime.CompactError(`
|
|
2763
|
+
throw new __compactRuntime.CompactError(`calculateTronTriggerSmartContractRequestIdV1_1_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
|
|
2764
2764
|
}
|
|
2765
2765
|
const request_0 = args_0[0];
|
|
2766
2766
|
if (!(typeof(request_0) === 'object' && typeof(request_0.keyVersion) === 'bigint' && request_0.keyVersion >= 0n && request_0.keyVersion <= 255n && typeof(request_0.sender) === 'object' && request_0.sender.bytes.buffer instanceof ArrayBuffer && request_0.sender.bytes.BYTES_PER_ELEMENT === 1 && request_0.sender.bytes.length === 32 && request_0.path.buffer instanceof ArrayBuffer && request_0.path.BYTES_PER_ELEMENT === 1 && request_0.path.length === 32 && typeof(request_0.algo) === 'number' && request_0.algo >= 0 && request_0.algo <= 1 && typeof(request_0.txParamType) === 'number' && request_0.txParamType >= 0 && request_0.txParamType <= 1 && typeof(request_0.txParams) === 'object' && request_0.txParams.refBlockBytes.buffer instanceof ArrayBuffer && request_0.txParams.refBlockBytes.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockBytes.length === 2 && request_0.txParams.refBlockHash.buffer instanceof ArrayBuffer && request_0.txParams.refBlockHash.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockHash.length === 8 && typeof(request_0.txParams.timestamp) === 'bigint' && request_0.txParams.timestamp >= 0n && request_0.txParams.timestamp <= 18446744073709551615n && typeof(request_0.txParams.expiration) === 'bigint' && request_0.txParams.expiration >= 0n && request_0.txParams.expiration <= 18446744073709551615n && typeof(request_0.txParams.feeLimit) === 'bigint' && request_0.txParams.feeLimit >= 0n && request_0.txParams.feeLimit <= 18446744073709551615n && request_0.txParams.contractAddress.buffer instanceof ArrayBuffer && request_0.txParams.contractAddress.BYTES_PER_ELEMENT === 1 && request_0.txParams.contractAddress.length === 21 && typeof(request_0.txParams.callValue) === 'bigint' && request_0.txParams.callValue >= 0n && request_0.txParams.callValue <= 18446744073709551615n && typeof(request_0.txParams.calldata) === 'object' && typeof(request_0.txParams.calldata.is_some) === 'boolean' && typeof(request_0.txParams.calldata.value) === 'object' && request_0.txParams.calldata.value.selector.buffer instanceof ArrayBuffer && request_0.txParams.calldata.value.selector.BYTES_PER_ELEMENT === 1 && request_0.txParams.calldata.value.selector.length === 4 && typeof(request_0.txParams.calldata.value.noWords) === 'bigint' && request_0.txParams.calldata.value.noWords >= 0n && request_0.txParams.calldata.value.noWords <= 65535n && Array.isArray(request_0.txParams.calldata.value.words) && request_0.txParams.calldata.value.words.length === 1 && request_0.txParams.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 64 && typeof(request_0.signatureDest) === 'number' && request_0.signatureDest >= 0 && request_0.signatureDest <= 1 && request_0.params.buffer instanceof ArrayBuffer && request_0.params.BYTES_PER_ELEMENT === 1 && request_0.params.length === 64 && request_0.outputDeserializationSchema.buffer instanceof ArrayBuffer && request_0.outputDeserializationSchema.BYTES_PER_ELEMENT === 1 && request_0.outputDeserializationSchema.length === 34 && request_0.respondSerializationSchema.buffer instanceof ArrayBuffer && request_0.respondSerializationSchema.BYTES_PER_ELEMENT === 1 && request_0.respondSerializationSchema.length === 0)) {
|
|
2767
|
-
__compactRuntime.typeError('
|
|
2767
|
+
__compactRuntime.typeError('calculateTronTriggerSmartContractRequestIdV1_1_34',
|
|
2768
2768
|
'argument 1',
|
|
2769
2769
|
'circuits.compact line 187 char 1',
|
|
2770
|
-
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2,
|
|
2770
|
+
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tronTriggerSmartContract>, txParams: struct TronTriggerSmartContractTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<1, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
|
|
2771
2771
|
request_0)
|
|
2772
2772
|
}
|
|
2773
|
-
return _dummyContract.
|
|
2773
|
+
return _dummyContract._calculateTronTriggerSmartContractRequestIdV1_1_34_0(request_0);
|
|
2774
2774
|
},
|
|
2775
|
-
|
|
2775
|
+
calculateTronTriggerSmartContractRequestIdV1_2_34: (...args_0) => {
|
|
2776
2776
|
if (args_0.length !== 1) {
|
|
2777
|
-
throw new __compactRuntime.CompactError(`
|
|
2777
|
+
throw new __compactRuntime.CompactError(`calculateTronTriggerSmartContractRequestIdV1_2_34: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
|
|
2778
2778
|
}
|
|
2779
2779
|
const request_0 = args_0[0];
|
|
2780
2780
|
if (!(typeof(request_0) === 'object' && typeof(request_0.keyVersion) === 'bigint' && request_0.keyVersion >= 0n && request_0.keyVersion <= 255n && typeof(request_0.sender) === 'object' && request_0.sender.bytes.buffer instanceof ArrayBuffer && request_0.sender.bytes.BYTES_PER_ELEMENT === 1 && request_0.sender.bytes.length === 32 && request_0.path.buffer instanceof ArrayBuffer && request_0.path.BYTES_PER_ELEMENT === 1 && request_0.path.length === 32 && typeof(request_0.algo) === 'number' && request_0.algo >= 0 && request_0.algo <= 1 && typeof(request_0.txParamType) === 'number' && request_0.txParamType >= 0 && request_0.txParamType <= 1 && typeof(request_0.txParams) === 'object' && request_0.txParams.refBlockBytes.buffer instanceof ArrayBuffer && request_0.txParams.refBlockBytes.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockBytes.length === 2 && request_0.txParams.refBlockHash.buffer instanceof ArrayBuffer && request_0.txParams.refBlockHash.BYTES_PER_ELEMENT === 1 && request_0.txParams.refBlockHash.length === 8 && typeof(request_0.txParams.timestamp) === 'bigint' && request_0.txParams.timestamp >= 0n && request_0.txParams.timestamp <= 18446744073709551615n && typeof(request_0.txParams.expiration) === 'bigint' && request_0.txParams.expiration >= 0n && request_0.txParams.expiration <= 18446744073709551615n && typeof(request_0.txParams.feeLimit) === 'bigint' && request_0.txParams.feeLimit >= 0n && request_0.txParams.feeLimit <= 18446744073709551615n && request_0.txParams.contractAddress.buffer instanceof ArrayBuffer && request_0.txParams.contractAddress.BYTES_PER_ELEMENT === 1 && request_0.txParams.contractAddress.length === 21 && typeof(request_0.txParams.callValue) === 'bigint' && request_0.txParams.callValue >= 0n && request_0.txParams.callValue <= 18446744073709551615n && typeof(request_0.txParams.calldata) === 'object' && typeof(request_0.txParams.calldata.is_some) === 'boolean' && typeof(request_0.txParams.calldata.value) === 'object' && request_0.txParams.calldata.value.selector.buffer instanceof ArrayBuffer && request_0.txParams.calldata.value.selector.BYTES_PER_ELEMENT === 1 && request_0.txParams.calldata.value.selector.length === 4 && typeof(request_0.txParams.calldata.value.noWords) === 'bigint' && request_0.txParams.calldata.value.noWords >= 0n && request_0.txParams.calldata.value.noWords <= 65535n && Array.isArray(request_0.txParams.calldata.value.words) && request_0.txParams.calldata.value.words.length === 2 && request_0.txParams.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32) && request_0.executionDest.buffer instanceof ArrayBuffer && request_0.executionDest.BYTES_PER_ELEMENT === 1 && request_0.executionDest.length === 64 && typeof(request_0.signatureDest) === 'number' && request_0.signatureDest >= 0 && request_0.signatureDest <= 1 && request_0.params.buffer instanceof ArrayBuffer && request_0.params.BYTES_PER_ELEMENT === 1 && request_0.params.length === 64 && request_0.outputDeserializationSchema.buffer instanceof ArrayBuffer && request_0.outputDeserializationSchema.BYTES_PER_ELEMENT === 1 && request_0.outputDeserializationSchema.length === 34 && request_0.respondSerializationSchema.buffer instanceof ArrayBuffer && request_0.respondSerializationSchema.BYTES_PER_ELEMENT === 1 && request_0.respondSerializationSchema.length === 0)) {
|
|
2781
|
-
__compactRuntime.typeError('
|
|
2781
|
+
__compactRuntime.typeError('calculateTronTriggerSmartContractRequestIdV1_2_34',
|
|
2782
2782
|
'argument 1',
|
|
2783
2783
|
'circuits.compact line 193 char 1',
|
|
2784
|
-
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2,
|
|
2784
|
+
'struct SignBidirectionalEventV1<keyVersion: Uint<0..256>, sender: struct ContractAddress<bytes: Bytes<32>>, path: Bytes<32>, algo: Enum<MPCSignatureAlgorithm, ecdsa, reserved>, txParamType: Enum<TxParamType, evmType2, tronTriggerSmartContract>, txParams: struct TronTriggerSmartContractTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>>, executionDest: Bytes<64>, signatureDest: Enum<MPCDestination, unused, reserved>, params: Bytes<64>, outputDeserializationSchema: Bytes<34>, respondSerializationSchema: Bytes<0>>',
|
|
2785
2785
|
request_0)
|
|
2786
2786
|
}
|
|
2787
|
-
return _dummyContract.
|
|
2787
|
+
return _dummyContract._calculateTronTriggerSmartContractRequestIdV1_2_34_0(request_0);
|
|
2788
2788
|
},
|
|
2789
|
-
|
|
2789
|
+
assertTronTriggerSmartContractTxParamsV1_2: (...args_0) => {
|
|
2790
2790
|
if (args_0.length !== 1) {
|
|
2791
|
-
throw new __compactRuntime.CompactError(`
|
|
2791
|
+
throw new __compactRuntime.CompactError(`assertTronTriggerSmartContractTxParamsV1_2: expected 1 argument (as invoked from Typescript), received ${args_0.length}`);
|
|
2792
2792
|
}
|
|
2793
2793
|
const txParams_0 = args_0[0];
|
|
2794
2794
|
if (!(typeof(txParams_0) === 'object' && txParams_0.refBlockBytes.buffer instanceof ArrayBuffer && txParams_0.refBlockBytes.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockBytes.length === 2 && txParams_0.refBlockHash.buffer instanceof ArrayBuffer && txParams_0.refBlockHash.BYTES_PER_ELEMENT === 1 && txParams_0.refBlockHash.length === 8 && typeof(txParams_0.timestamp) === 'bigint' && txParams_0.timestamp >= 0n && txParams_0.timestamp <= 18446744073709551615n && typeof(txParams_0.expiration) === 'bigint' && txParams_0.expiration >= 0n && txParams_0.expiration <= 18446744073709551615n && typeof(txParams_0.feeLimit) === 'bigint' && txParams_0.feeLimit >= 0n && txParams_0.feeLimit <= 18446744073709551615n && txParams_0.contractAddress.buffer instanceof ArrayBuffer && txParams_0.contractAddress.BYTES_PER_ELEMENT === 1 && txParams_0.contractAddress.length === 21 && typeof(txParams_0.callValue) === 'bigint' && txParams_0.callValue >= 0n && txParams_0.callValue <= 18446744073709551615n && typeof(txParams_0.calldata) === 'object' && typeof(txParams_0.calldata.is_some) === 'boolean' && typeof(txParams_0.calldata.value) === 'object' && txParams_0.calldata.value.selector.buffer instanceof ArrayBuffer && txParams_0.calldata.value.selector.BYTES_PER_ELEMENT === 1 && txParams_0.calldata.value.selector.length === 4 && typeof(txParams_0.calldata.value.noWords) === 'bigint' && txParams_0.calldata.value.noWords >= 0n && txParams_0.calldata.value.noWords <= 65535n && Array.isArray(txParams_0.calldata.value.words) && txParams_0.calldata.value.words.length === 2 && txParams_0.calldata.value.words.every((t) => t.buffer instanceof ArrayBuffer && t.BYTES_PER_ELEMENT === 1 && t.length === 32))) {
|
|
2795
|
-
__compactRuntime.typeError('
|
|
2795
|
+
__compactRuntime.typeError('assertTronTriggerSmartContractTxParamsV1_2',
|
|
2796
2796
|
'argument 1',
|
|
2797
2797
|
'circuits.compact line 201 char 1',
|
|
2798
|
-
'struct
|
|
2798
|
+
'struct TronTriggerSmartContractTxParams<refBlockBytes: Bytes<2>, refBlockHash: Bytes<8>, timestamp: Uint<0..18446744073709551616>, expiration: Uint<0..18446744073709551616>, feeLimit: Uint<0..18446744073709551616>, contractAddress: Bytes<21>, callValue: Uint<0..18446744073709551616>, calldata: struct Maybe<is_some: Boolean, value: struct EvmCalldata<selector: Bytes<4>, noWords: Uint<0..65536>, words: Vector<2, Bytes<32>>>>>',
|
|
2799
2799
|
txParams_0)
|
|
2800
2800
|
}
|
|
2801
|
-
return _dummyContract.
|
|
2801
|
+
return _dummyContract._assertTronTriggerSmartContractTxParamsV1_2_0(txParams_0);
|
|
2802
2802
|
}
|
|
2803
2803
|
};
|
|
2804
2804
|
export const expectedVk = {};
|
|
2805
2805
|
|
|
2806
2806
|
export const circuitSignatures = {
|
|
2807
|
-
'calculateRequestIdV1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'RequestIdPreimageV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', '
|
|
2807
|
+
'calculateRequestIdV1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'RequestIdPreimageV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tronTriggerSmartContract']}}, {name: 'txParamsDigest', type: {tag: 'Bytes', length: 32}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
|
|
2808
2808
|
'constructSignBidirectionalEventNotificationV1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}, {tag: 'Uint', maxval: '255'}, {tag: 'Vector', length: 4, type: {tag: 'Uint', maxval: '255'}}], resultType: {tag: 'Struct', name: 'SignBidirectionalEventNotification', elements: [{name: 'version', type: {tag: 'Uint', maxval: '255'}}, {name: 'payload', type: {tag: 'Bytes', length: 128}}]}},
|
|
2809
2809
|
'calculateSignetAttestationDigestV1': {pure: true, provable: false, argumentTypes: [{tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}, {tag: 'Uint', maxval: '18446744073709551615'}, {tag: 'Enum', name: 'OutputKind', elements: ['executed', 'failed', 'unviable']}, {tag: 'Uint', maxval: '18446744073709551615'}, {tag: 'Bytes', length: 32}], resultType: {tag: 'Bytes', length: 32}},
|
|
2810
2810
|
'verifyRespondBidirectionalAttestationV1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'RespondBidirectionalEventV1', elements: [{name: 'requestId', type: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}}, {name: 'blockHeight', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputKind', type: {tag: 'Enum', name: 'OutputKind', elements: ['executed', 'failed', 'unviable']}}, {name: 'serializedOutputLength', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputHash', type: {tag: 'Bytes', length: 32}}, {name: 'digest', type: {tag: 'Bytes', length: 32}}, {name: 'signature', type: {tag: 'Struct', name: 'Signature', elements: [{name: 'bigR', type: {tag: 'Struct', name: 'AffinePoint', elements: [{name: 'x', type: {tag: 'Bytes', length: 32}}, {name: 'y', type: {tag: 'Bytes', length: 32}}]}}, {name: 's', type: {tag: 'Bytes', length: 32}}, {name: 'recoveryId', type: {tag: 'Uint', maxval: '255'}}]}}]}, {tag: 'Secp256k1Point'}], resultType: {tag: 'Boolean'}},
|
|
@@ -2829,18 +2829,18 @@ export const circuitSignatures = {
|
|
|
2829
2829
|
'verifyAttestedOutput2': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 2}, {tag: 'Uint', maxval: '18446744073709551615'}, {tag: 'Bytes', length: 32}], resultType: {tag: 'Boolean'}},
|
|
2830
2830
|
'calculateEvmType2TxParamsDigestV1_1_0_0': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}], resultType: {tag: 'Bytes', length: 32}},
|
|
2831
2831
|
'calculateEvmType2TxParamsDigestV1_2_1_2': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Vector', length: 1, type: {tag: 'Struct', name: 'EvmAccessListEntry', elements: [{name: 'address', type: {tag: 'Bytes', length: 20}}, {name: 'storageKeyCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'storageKeys', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}}]}], resultType: {tag: 'Bytes', length: 32}},
|
|
2832
|
-
'calculateEvmType2RequestIdV1_1_0_0_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', '
|
|
2833
|
-
'calculateEvmType2RequestIdV1_2_1_2_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', '
|
|
2832
|
+
'calculateEvmType2RequestIdV1_1_0_0_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tronTriggerSmartContract']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
|
|
2833
|
+
'calculateEvmType2RequestIdV1_2_1_2_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tronTriggerSmartContract']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Vector', length: 1, type: {tag: 'Struct', name: 'EvmAccessListEntry', elements: [{name: 'address', type: {tag: 'Bytes', length: 20}}, {name: 'storageKeyCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'storageKeys', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
|
|
2834
2834
|
'verifyRespondBidirectionalEvent0': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 0}, {tag: 'Struct', name: 'RespondBidirectionalEventV1', elements: [{name: 'requestId', type: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}}, {name: 'blockHeight', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputKind', type: {tag: 'Enum', name: 'OutputKind', elements: ['executed', 'failed', 'unviable']}}, {name: 'serializedOutputLength', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputHash', type: {tag: 'Bytes', length: 32}}, {name: 'digest', type: {tag: 'Bytes', length: 32}}, {name: 'signature', type: {tag: 'Struct', name: 'Signature', elements: [{name: 'bigR', type: {tag: 'Struct', name: 'AffinePoint', elements: [{name: 'x', type: {tag: 'Bytes', length: 32}}, {name: 'y', type: {tag: 'Bytes', length: 32}}]}}, {name: 's', type: {tag: 'Bytes', length: 32}}, {name: 'recoveryId', type: {tag: 'Uint', maxval: '255'}}]}}]}, {tag: 'Secp256k1Point'}], resultType: {tag: 'Boolean'}},
|
|
2835
2835
|
'verifyRespondBidirectionalEvent32': {pure: true, provable: false, argumentTypes: [{tag: 'Bytes', length: 32}, {tag: 'Struct', name: 'RespondBidirectionalEventV1', elements: [{name: 'requestId', type: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}}, {name: 'blockHeight', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputKind', type: {tag: 'Enum', name: 'OutputKind', elements: ['executed', 'failed', 'unviable']}}, {name: 'serializedOutputLength', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'outputHash', type: {tag: 'Bytes', length: 32}}, {name: 'digest', type: {tag: 'Bytes', length: 32}}, {name: 'signature', type: {tag: 'Struct', name: 'Signature', elements: [{name: 'bigR', type: {tag: 'Struct', name: 'AffinePoint', elements: [{name: 'x', type: {tag: 'Bytes', length: 32}}, {name: 'y', type: {tag: 'Bytes', length: 32}}]}}, {name: 's', type: {tag: 'Bytes', length: 32}}, {name: 'recoveryId', type: {tag: 'Uint', maxval: '255'}}]}}]}, {tag: 'Secp256k1Point'}], resultType: {tag: 'Boolean'}},
|
|
2836
|
-
'constructSignBidirectionalEventV1_1_0_0_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', '
|
|
2837
|
-
'
|
|
2838
|
-
'
|
|
2839
|
-
'
|
|
2840
|
-
'
|
|
2841
|
-
'
|
|
2842
|
-
'
|
|
2843
|
-
'
|
|
2836
|
+
'constructSignBidirectionalEventV1_1_0_0_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tronTriggerSmartContract']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tronTriggerSmartContract']}}, {name: 'txParams', type: {tag: 'Struct', name: 'EvmType2TxParams', elements: [{name: 'chainId', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'nonce', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'maxPriorityFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'maxFeePerGas', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'gasLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'to', type: {tag: 'Bytes', length: 20}}, {name: 'value', type: {tag: 'Uint', maxval: '340282366920938463463374607431768211455'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}, {name: 'accessListEntryCount', type: {tag: 'Uint', maxval: '255'}}, {name: 'accessList', type: {tag: 'Tuple', types: []}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}},
|
|
2837
|
+
'calculateTronTriggerSmartContractTxParamsDigestV1_1': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'TronTriggerSmartContractTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}]}], resultType: {tag: 'Bytes', length: 32}},
|
|
2838
|
+
'calculateTronTriggerSmartContractTxParamsDigestV1_2': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'TronTriggerSmartContractTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}]}], resultType: {tag: 'Bytes', length: 32}},
|
|
2839
|
+
'calculateTronTriggerSmartContractRequestIdV1_1_0': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tronTriggerSmartContract']}}, {name: 'txParams', type: {tag: 'Struct', name: 'TronTriggerSmartContractTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 0}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
|
|
2840
|
+
'calculateTronTriggerSmartContractRequestIdV1_2_0': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tronTriggerSmartContract']}}, {name: 'txParams', type: {tag: 'Struct', name: 'TronTriggerSmartContractTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 0}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
|
|
2841
|
+
'calculateTronTriggerSmartContractRequestIdV1_1_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tronTriggerSmartContract']}}, {name: 'txParams', type: {tag: 'Struct', name: 'TronTriggerSmartContractTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 1, type: {tag: 'Bytes', length: 32}}}]}}]}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
|
|
2842
|
+
'calculateTronTriggerSmartContractRequestIdV1_2_34': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'SignBidirectionalEventV1', elements: [{name: 'keyVersion', type: {tag: 'Uint', maxval: '255'}}, {name: 'sender', type: {tag: 'Struct', name: 'ContractAddress', elements: [{name: 'bytes', type: {tag: 'Bytes', length: 32}}]}}, {name: 'path', type: {tag: 'Bytes', length: 32}}, {name: 'algo', type: {tag: 'Enum', name: 'MPCSignatureAlgorithm', elements: ['ecdsa', 'reserved']}}, {name: 'txParamType', type: {tag: 'Enum', name: 'TxParamType', elements: ['evmType2', 'tronTriggerSmartContract']}}, {name: 'txParams', type: {tag: 'Struct', name: 'TronTriggerSmartContractTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}]}}, {name: 'executionDest', type: {tag: 'Bytes', length: 64}}, {name: 'signatureDest', type: {tag: 'Enum', name: 'MPCDestination', elements: ['unused', 'reserved']}}, {name: 'params', type: {tag: 'Bytes', length: 64}}, {name: 'outputDeserializationSchema', type: {tag: 'Bytes', length: 34}}, {name: 'respondSerializationSchema', type: {tag: 'Bytes', length: 0}}]}], resultType: {tag: 'Alias', name: 'RequestId', type: {tag: 'Bytes', length: 32}}},
|
|
2843
|
+
'assertTronTriggerSmartContractTxParamsV1_2': {pure: true, provable: false, argumentTypes: [{tag: 'Struct', name: 'TronTriggerSmartContractTxParams', elements: [{name: 'refBlockBytes', type: {tag: 'Bytes', length: 2}}, {name: 'refBlockHash', type: {tag: 'Bytes', length: 8}}, {name: 'timestamp', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'expiration', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'feeLimit', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'contractAddress', type: {tag: 'Bytes', length: 21}}, {name: 'callValue', type: {tag: 'Uint', maxval: '18446744073709551615'}}, {name: 'calldata', type: {tag: 'Struct', name: 'Maybe', elements: [{name: 'is_some', type: {tag: 'Boolean'}}, {name: 'value', type: {tag: 'Struct', name: 'EvmCalldata', elements: [{name: 'selector', type: {tag: 'Bytes', length: 4}}, {name: 'noWords', type: {tag: 'Uint', maxval: '65535'}}, {name: 'words', type: {tag: 'Vector', length: 2, type: {tag: 'Bytes', length: 32}}}]}}]}}]}], resultType: {tag: 'Tuple', types: []}},
|
|
2844
2844
|
};
|
|
2845
2845
|
|
|
2846
2846
|
export const declaredInterfaces = {};
|