@attocash/commons-test 6.3.1 → 6.3.2
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/commons-commons-test.d.mts +5 -2
- package/commons-commons-test.mjs +502 -469
- package/commons-commons-test.mjs.map +1 -1
- package/package.json +1 -1
package/commons-commons-test.mjs
CHANGED
|
@@ -59,12 +59,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
59
59
|
};
|
|
60
60
|
}(Math.log, Math.LN2);
|
|
61
61
|
}
|
|
62
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
63
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
64
|
-
position = position || 0;
|
|
65
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
66
|
-
}});
|
|
67
|
-
}
|
|
68
62
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
69
63
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
70
64
|
var subjectString = this.toString();
|
|
@@ -76,6 +70,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
76
70
|
return lastIndex !== -1 && lastIndex === position;
|
|
77
71
|
}});
|
|
78
72
|
}
|
|
73
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
74
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
75
|
+
position = position || 0;
|
|
76
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
77
|
+
}});
|
|
78
|
+
}
|
|
79
79
|
//endregion
|
|
80
80
|
import {
|
|
81
81
|
ZoneId as ZoneId,
|
|
@@ -15602,11 +15602,6 @@ class BufferedChannelIterator {
|
|
|
15602
15602
|
}
|
|
15603
15603
|
}
|
|
15604
15604
|
}
|
|
15605
|
-
class SendChannel {}
|
|
15606
|
-
function close$default(cause, $super) {
|
|
15607
|
-
cause = cause === VOID ? null : cause;
|
|
15608
|
-
return $super === VOID ? this.l24(cause) : $super.l24.call(this, cause);
|
|
15609
|
-
}
|
|
15610
15605
|
class ReceiveChannel {}
|
|
15611
15606
|
function cancel$default_0(cause, $super) {
|
|
15612
15607
|
cause = cause === VOID ? null : cause;
|
|
@@ -15619,6 +15614,11 @@ function cancel$default_0(cause, $super) {
|
|
|
15619
15614
|
}
|
|
15620
15615
|
return tmp;
|
|
15621
15616
|
}
|
|
15617
|
+
class SendChannel {}
|
|
15618
|
+
function close$default(cause, $super) {
|
|
15619
|
+
cause = cause === VOID ? null : cause;
|
|
15620
|
+
return $super === VOID ? this.l24(cause) : $super.l24.call(this, cause);
|
|
15621
|
+
}
|
|
15622
15622
|
class BufferedChannel {
|
|
15623
15623
|
constructor(capacity, onUndeliveredElement) {
|
|
15624
15624
|
onUndeliveredElement = onUndeliveredElement === VOID ? null : onUndeliveredElement;
|
|
@@ -37882,13 +37882,13 @@ class AttoAccountMonitorAsync$onReceivable$slambda$slambda {
|
|
|
37882
37882
|
}
|
|
37883
37883
|
class sam$kotlinx_coroutines_flow_FlowCollector$0_13 {
|
|
37884
37884
|
constructor(function_0) {
|
|
37885
|
-
this.
|
|
37885
|
+
this.x50_1 = function_0;
|
|
37886
37886
|
}
|
|
37887
37887
|
k26(value, $completion) {
|
|
37888
|
-
return this.
|
|
37888
|
+
return this.x50_1(value, $completion);
|
|
37889
37889
|
}
|
|
37890
37890
|
f5() {
|
|
37891
|
-
return this.
|
|
37891
|
+
return this.x50_1;
|
|
37892
37892
|
}
|
|
37893
37893
|
equals(other) {
|
|
37894
37894
|
var tmp;
|
|
@@ -37911,10 +37911,10 @@ class sam$kotlinx_coroutines_flow_FlowCollector$0_13 {
|
|
|
37911
37911
|
}
|
|
37912
37912
|
class AttoAccountMonitorAsync$onReceivable$slambda {
|
|
37913
37913
|
constructor($onCancel) {
|
|
37914
|
-
this.
|
|
37914
|
+
this.y50_1 = $onCancel;
|
|
37915
37915
|
}
|
|
37916
37916
|
p50(it, $completion) {
|
|
37917
|
-
this.
|
|
37917
|
+
this.y50_1(it);
|
|
37918
37918
|
return Unit_instance;
|
|
37919
37919
|
}
|
|
37920
37920
|
md(p1, $completion) {
|
|
@@ -37939,37 +37939,37 @@ class AttoAccountMonitorAsync {
|
|
|
37939
37939
|
this.accountMonitor = accountMonitor;
|
|
37940
37940
|
this.e4y_1 = CoroutineScope_0(dispatcher.gl(SupervisorJob()));
|
|
37941
37941
|
}
|
|
37942
|
-
|
|
37942
|
+
z50() {
|
|
37943
37943
|
return this.accountMonitor;
|
|
37944
37944
|
}
|
|
37945
|
-
|
|
37946
|
-
return promisify(($completion) => this.
|
|
37945
|
+
monitorAddressArray(addresses) {
|
|
37946
|
+
return promisify(($completion) => this.a51(addresses, $completion));
|
|
37947
37947
|
}
|
|
37948
|
-
|
|
37948
|
+
a51(addresses, $completion) {
|
|
37949
37949
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_monitor$suspendBridge__t4kmih.bind(VOID, this, addresses), $completion);
|
|
37950
37950
|
}
|
|
37951
|
-
|
|
37952
|
-
return this.accountMonitor.e4x(addresses, $completion);
|
|
37951
|
+
w50(addresses, $completion) {
|
|
37952
|
+
return this.accountMonitor.e4x(toList(addresses), $completion);
|
|
37953
37953
|
}
|
|
37954
37954
|
monitorAddress(address) {
|
|
37955
|
-
return promisify(($completion) => this.
|
|
37955
|
+
return promisify(($completion) => this.b51(address, $completion));
|
|
37956
37956
|
}
|
|
37957
|
-
|
|
37957
|
+
b51(address, $completion) {
|
|
37958
37958
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_monitor$suspendBridge__t4kmih_0.bind(VOID, this, address), $completion);
|
|
37959
37959
|
}
|
|
37960
37960
|
f4x(address, $completion) {
|
|
37961
37961
|
return this.accountMonitor.f4x(address, $completion);
|
|
37962
37962
|
}
|
|
37963
37963
|
getAccounts() {
|
|
37964
|
-
return promisify(($completion) => this.
|
|
37964
|
+
return promisify(($completion) => this.c51($completion));
|
|
37965
37965
|
}
|
|
37966
|
-
|
|
37966
|
+
c51($completion) {
|
|
37967
37967
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_getAccounts$suspendBridge__p1jm47.bind(VOID, this), $completion);
|
|
37968
37968
|
}
|
|
37969
37969
|
g4x($completion) {
|
|
37970
|
-
return
|
|
37970
|
+
return suspendOrReturn(/*#__NOINLINE__*/_generator_getAccounts__z4cluw_0.bind(VOID, this), $completion);
|
|
37971
37971
|
}
|
|
37972
|
-
|
|
37972
|
+
d51(minAmount, onReceivable, onCancel) {
|
|
37973
37973
|
var tmp0 = this.e4y_1;
|
|
37974
37974
|
var tmp2 = this.accountMonitor.h4x(minAmount);
|
|
37975
37975
|
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
@@ -37978,7 +37978,7 @@ class AttoAccountMonitorAsync {
|
|
|
37978
37978
|
}
|
|
37979
37979
|
onReceivable(minAmount, onReceivable, onCancel, $super) {
|
|
37980
37980
|
minAmount = minAmount === VOID ? Companion_getInstance_90().x4m_1 : minAmount;
|
|
37981
|
-
return $super === VOID ? this.
|
|
37981
|
+
return $super === VOID ? this.d51(minAmount, onReceivable, onCancel) : $super.d51.call(this, minAmount, onReceivable, onCancel);
|
|
37982
37982
|
}
|
|
37983
37983
|
u6() {
|
|
37984
37984
|
cancel(this.e4y_1);
|
|
@@ -37986,16 +37986,16 @@ class AttoAccountMonitorAsync {
|
|
|
37986
37986
|
}
|
|
37987
37987
|
class AttoAccountMonitorAsyncBuilder {
|
|
37988
37988
|
constructor(nodeClient) {
|
|
37989
|
-
this.
|
|
37989
|
+
this.e51_1 = nodeClient;
|
|
37990
37990
|
}
|
|
37991
37991
|
build() {
|
|
37992
|
-
var monitor = createAccountMonitor(this.
|
|
37992
|
+
var monitor = createAccountMonitor(this.e51_1.client);
|
|
37993
37993
|
return new AttoAccountMonitorAsync(monitor, Dispatchers_getInstance().r20_1);
|
|
37994
37994
|
}
|
|
37995
37995
|
}
|
|
37996
37996
|
class AttoTransactionMonitorAsync$onTransaction$slambda$slambda {
|
|
37997
37997
|
constructor($onTransaction) {
|
|
37998
|
-
this.
|
|
37998
|
+
this.f51_1 = $onTransaction;
|
|
37999
37999
|
}
|
|
38000
38000
|
n3f(it, $completion) {
|
|
38001
38001
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_63.bind(VOID, this, it), $completion);
|
|
@@ -38006,13 +38006,13 @@ class AttoTransactionMonitorAsync$onTransaction$slambda$slambda {
|
|
|
38006
38006
|
}
|
|
38007
38007
|
class sam$kotlinx_coroutines_flow_FlowCollector$0_14 {
|
|
38008
38008
|
constructor(function_0) {
|
|
38009
|
-
this.
|
|
38009
|
+
this.j51_1 = function_0;
|
|
38010
38010
|
}
|
|
38011
38011
|
k26(value, $completion) {
|
|
38012
|
-
return this.
|
|
38012
|
+
return this.j51_1(value, $completion);
|
|
38013
38013
|
}
|
|
38014
38014
|
f5() {
|
|
38015
|
-
return this.
|
|
38015
|
+
return this.j51_1;
|
|
38016
38016
|
}
|
|
38017
38017
|
equals(other) {
|
|
38018
38018
|
var tmp;
|
|
@@ -38035,10 +38035,10 @@ class sam$kotlinx_coroutines_flow_FlowCollector$0_14 {
|
|
|
38035
38035
|
}
|
|
38036
38036
|
class AttoTransactionMonitorAsync$onTransaction$slambda {
|
|
38037
38037
|
constructor($onCancel) {
|
|
38038
|
-
this.
|
|
38038
|
+
this.k51_1 = $onCancel;
|
|
38039
38039
|
}
|
|
38040
38040
|
p50(it, $completion) {
|
|
38041
|
-
this.
|
|
38041
|
+
this.k51_1(it);
|
|
38042
38042
|
return Unit_instance;
|
|
38043
38043
|
}
|
|
38044
38044
|
md(p1, $completion) {
|
|
@@ -38047,9 +38047,9 @@ class AttoTransactionMonitorAsync$onTransaction$slambda {
|
|
|
38047
38047
|
}
|
|
38048
38048
|
class AttoTransactionMonitorAsync$onTransaction$slambda_0 {
|
|
38049
38049
|
constructor($stream, $onCancel, $onTransaction) {
|
|
38050
|
-
this.
|
|
38051
|
-
this.
|
|
38052
|
-
this.
|
|
38050
|
+
this.g51_1 = $stream;
|
|
38051
|
+
this.h51_1 = $onCancel;
|
|
38052
|
+
this.i51_1 = $onTransaction;
|
|
38053
38053
|
}
|
|
38054
38054
|
v28($this$launch, $completion) {
|
|
38055
38055
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_64.bind(VOID, this, $this$launch), $completion);
|
|
@@ -38061,25 +38061,25 @@ class AttoTransactionMonitorAsync$onTransaction$slambda_0 {
|
|
|
38061
38061
|
class AttoTransactionMonitorAsync {
|
|
38062
38062
|
constructor(transactionMonitor, dispatcher) {
|
|
38063
38063
|
this.transactionMonitor = transactionMonitor;
|
|
38064
|
-
this.
|
|
38064
|
+
this.l51_1 = CoroutineScope_0(dispatcher.gl(SupervisorJob()));
|
|
38065
38065
|
}
|
|
38066
|
-
|
|
38066
|
+
m51() {
|
|
38067
38067
|
return this.transactionMonitor;
|
|
38068
38068
|
}
|
|
38069
38069
|
onTransaction(onTransaction, onCancel) {
|
|
38070
|
-
var tmp0 = this.
|
|
38070
|
+
var tmp0 = this.l51_1;
|
|
38071
38071
|
var tmp2 = this.transactionMonitor.s4w();
|
|
38072
38072
|
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
38073
38073
|
var onCancel_0 = AttoTransactionMonitorAsync$onTransaction$slambda_1(onCancel);
|
|
38074
38074
|
return new AttoJob(launch(tmp0, VOID, VOID, AttoTransactionMonitorAsync$onTransaction$slambda_2(tmp2, onCancel_0, onTransaction)));
|
|
38075
38075
|
}
|
|
38076
38076
|
u6() {
|
|
38077
|
-
cancel(this.
|
|
38077
|
+
cancel(this.l51_1);
|
|
38078
38078
|
}
|
|
38079
38079
|
}
|
|
38080
38080
|
class AttoNodeClientRemote$accountStream$slambda$slambda {
|
|
38081
38081
|
constructor($this_channelFlow) {
|
|
38082
|
-
this.
|
|
38082
|
+
this.n51_1 = $this_channelFlow;
|
|
38083
38083
|
}
|
|
38084
38084
|
z3m(response, $completion) {
|
|
38085
38085
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_65.bind(VOID, this, response), $completion);
|
|
@@ -38090,7 +38090,7 @@ class AttoNodeClientRemote$accountStream$slambda$slambda {
|
|
|
38090
38090
|
}
|
|
38091
38091
|
class AttoNodeClientRemote$accountStream$slambda$slambda_0 {
|
|
38092
38092
|
constructor($this_channelFlow) {
|
|
38093
|
-
this.
|
|
38093
|
+
this.s51_1 = $this_channelFlow;
|
|
38094
38094
|
}
|
|
38095
38095
|
z3m(response, $completion) {
|
|
38096
38096
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_67.bind(VOID, this, response), $completion);
|
|
@@ -38101,7 +38101,7 @@ class AttoNodeClientRemote$accountStream$slambda$slambda_0 {
|
|
|
38101
38101
|
}
|
|
38102
38102
|
class AttoNodeClientRemote$receivableStream$slambda$slambda {
|
|
38103
38103
|
constructor($this_channelFlow) {
|
|
38104
|
-
this.
|
|
38104
|
+
this.w51_1 = $this_channelFlow;
|
|
38105
38105
|
}
|
|
38106
38106
|
z3m(response, $completion) {
|
|
38107
38107
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_69.bind(VOID, this, response), $completion);
|
|
@@ -38112,7 +38112,7 @@ class AttoNodeClientRemote$receivableStream$slambda$slambda {
|
|
|
38112
38112
|
}
|
|
38113
38113
|
class AttoNodeClientRemote$receivableStream$slambda$slambda_0 {
|
|
38114
38114
|
constructor($this_channelFlow) {
|
|
38115
|
-
this.
|
|
38115
|
+
this.z51_1 = $this_channelFlow;
|
|
38116
38116
|
}
|
|
38117
38117
|
z3m(response, $completion) {
|
|
38118
38118
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_71.bind(VOID, this, response), $completion);
|
|
@@ -38123,7 +38123,7 @@ class AttoNodeClientRemote$receivableStream$slambda$slambda_0 {
|
|
|
38123
38123
|
}
|
|
38124
38124
|
class AttoNodeClientRemote$accountEntry$slambda$slambda {
|
|
38125
38125
|
constructor($this_channelFlow) {
|
|
38126
|
-
this.
|
|
38126
|
+
this.d52_1 = $this_channelFlow;
|
|
38127
38127
|
}
|
|
38128
38128
|
z3m(response, $completion) {
|
|
38129
38129
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_73.bind(VOID, this, response), $completion);
|
|
@@ -38134,7 +38134,7 @@ class AttoNodeClientRemote$accountEntry$slambda$slambda {
|
|
|
38134
38134
|
}
|
|
38135
38135
|
class AttoNodeClientRemote$accountEntryStream$slambda$slambda {
|
|
38136
38136
|
constructor($this_channelFlow) {
|
|
38137
|
-
this.
|
|
38137
|
+
this.g52_1 = $this_channelFlow;
|
|
38138
38138
|
}
|
|
38139
38139
|
z3m(response, $completion) {
|
|
38140
38140
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_75.bind(VOID, this, response), $completion);
|
|
@@ -38145,7 +38145,7 @@ class AttoNodeClientRemote$accountEntryStream$slambda$slambda {
|
|
|
38145
38145
|
}
|
|
38146
38146
|
class AttoNodeClientRemote$accountEntryStream$slambda$slambda_0 {
|
|
38147
38147
|
constructor($this_channelFlow) {
|
|
38148
|
-
this.
|
|
38148
|
+
this.j52_1 = $this_channelFlow;
|
|
38149
38149
|
}
|
|
38150
38150
|
z3m(response, $completion) {
|
|
38151
38151
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_77.bind(VOID, this, response), $completion);
|
|
@@ -38156,7 +38156,7 @@ class AttoNodeClientRemote$accountEntryStream$slambda$slambda_0 {
|
|
|
38156
38156
|
}
|
|
38157
38157
|
class AttoNodeClientRemote$transaction$slambda$slambda {
|
|
38158
38158
|
constructor($this_channelFlow) {
|
|
38159
|
-
this.
|
|
38159
|
+
this.n52_1 = $this_channelFlow;
|
|
38160
38160
|
}
|
|
38161
38161
|
z3m(response, $completion) {
|
|
38162
38162
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_79.bind(VOID, this, response), $completion);
|
|
@@ -38167,7 +38167,7 @@ class AttoNodeClientRemote$transaction$slambda$slambda {
|
|
|
38167
38167
|
}
|
|
38168
38168
|
class AttoNodeClientRemote$transactionStream$slambda$slambda {
|
|
38169
38169
|
constructor($this_channelFlow) {
|
|
38170
|
-
this.
|
|
38170
|
+
this.q52_1 = $this_channelFlow;
|
|
38171
38171
|
}
|
|
38172
38172
|
z3m(response, $completion) {
|
|
38173
38173
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_81.bind(VOID, this, response), $completion);
|
|
@@ -38178,7 +38178,7 @@ class AttoNodeClientRemote$transactionStream$slambda$slambda {
|
|
|
38178
38178
|
}
|
|
38179
38179
|
class AttoNodeClientRemote$transactionStream$slambda$slambda_0 {
|
|
38180
38180
|
constructor($this_channelFlow) {
|
|
38181
|
-
this.
|
|
38181
|
+
this.t52_1 = $this_channelFlow;
|
|
38182
38182
|
}
|
|
38183
38183
|
z3m(response, $completion) {
|
|
38184
38184
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_83.bind(VOID, this, response), $completion);
|
|
@@ -38194,126 +38194,126 @@ class AttoNodeClientRemote$_init_$slambda_etzix7 {
|
|
|
38194
38194
|
}
|
|
38195
38195
|
class AttoNodeClientRemote$accountStream$slambda {
|
|
38196
38196
|
constructor($this, $urlPath) {
|
|
38197
|
-
this.
|
|
38198
|
-
this.
|
|
38197
|
+
this.q51_1 = $this;
|
|
38198
|
+
this.r51_1 = $urlPath;
|
|
38199
38199
|
}
|
|
38200
|
-
|
|
38200
|
+
x52($this$channelFlow, $completion) {
|
|
38201
38201
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_66.bind(VOID, this, $this$channelFlow), $completion);
|
|
38202
38202
|
}
|
|
38203
38203
|
md(p1, $completion) {
|
|
38204
|
-
return this.
|
|
38204
|
+
return this.x52((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38205
38205
|
}
|
|
38206
38206
|
}
|
|
38207
38207
|
class AttoNodeClientRemote$accountStream$slambda_0 {
|
|
38208
38208
|
constructor($this, $urlPath, $search) {
|
|
38209
|
-
this.
|
|
38210
|
-
this.
|
|
38211
|
-
this.
|
|
38209
|
+
this.t51_1 = $this;
|
|
38210
|
+
this.u51_1 = $urlPath;
|
|
38211
|
+
this.v51_1 = $search;
|
|
38212
38212
|
}
|
|
38213
|
-
|
|
38213
|
+
x52($this$channelFlow, $completion) {
|
|
38214
38214
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_68.bind(VOID, this, $this$channelFlow), $completion);
|
|
38215
38215
|
}
|
|
38216
38216
|
md(p1, $completion) {
|
|
38217
|
-
return this.
|
|
38217
|
+
return this.x52((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38218
38218
|
}
|
|
38219
38219
|
}
|
|
38220
38220
|
class AttoNodeClientRemote$receivableStream$slambda {
|
|
38221
38221
|
constructor($this, $urlPath) {
|
|
38222
|
-
this.
|
|
38223
|
-
this.
|
|
38222
|
+
this.x51_1 = $this;
|
|
38223
|
+
this.y51_1 = $urlPath;
|
|
38224
38224
|
}
|
|
38225
|
-
|
|
38225
|
+
y52($this$channelFlow, $completion) {
|
|
38226
38226
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_70.bind(VOID, this, $this$channelFlow), $completion);
|
|
38227
38227
|
}
|
|
38228
38228
|
md(p1, $completion) {
|
|
38229
|
-
return this.
|
|
38229
|
+
return this.y52((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38230
38230
|
}
|
|
38231
38231
|
}
|
|
38232
38232
|
class AttoNodeClientRemote$receivableStream$slambda_0 {
|
|
38233
38233
|
constructor($this, $urlPath, $search) {
|
|
38234
|
-
this.
|
|
38235
|
-
this.
|
|
38236
|
-
this.
|
|
38234
|
+
this.a52_1 = $this;
|
|
38235
|
+
this.b52_1 = $urlPath;
|
|
38236
|
+
this.c52_1 = $search;
|
|
38237
38237
|
}
|
|
38238
|
-
|
|
38238
|
+
y52($this$channelFlow, $completion) {
|
|
38239
38239
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_72.bind(VOID, this, $this$channelFlow), $completion);
|
|
38240
38240
|
}
|
|
38241
38241
|
md(p1, $completion) {
|
|
38242
|
-
return this.
|
|
38242
|
+
return this.y52((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38243
38243
|
}
|
|
38244
38244
|
}
|
|
38245
38245
|
class AttoNodeClientRemote$accountEntry$slambda {
|
|
38246
38246
|
constructor($this, $urlPath) {
|
|
38247
|
-
this.
|
|
38248
|
-
this.
|
|
38247
|
+
this.e52_1 = $this;
|
|
38248
|
+
this.f52_1 = $urlPath;
|
|
38249
38249
|
}
|
|
38250
|
-
|
|
38250
|
+
z52($this$channelFlow, $completion) {
|
|
38251
38251
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_74.bind(VOID, this, $this$channelFlow), $completion);
|
|
38252
38252
|
}
|
|
38253
38253
|
md(p1, $completion) {
|
|
38254
|
-
return this.
|
|
38254
|
+
return this.z52((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38255
38255
|
}
|
|
38256
38256
|
}
|
|
38257
38257
|
class AttoNodeClientRemote$accountEntryStream$slambda {
|
|
38258
38258
|
constructor($this, $urlPath) {
|
|
38259
|
-
this.
|
|
38260
|
-
this.
|
|
38259
|
+
this.h52_1 = $this;
|
|
38260
|
+
this.i52_1 = $urlPath;
|
|
38261
38261
|
}
|
|
38262
|
-
|
|
38262
|
+
z52($this$channelFlow, $completion) {
|
|
38263
38263
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_76.bind(VOID, this, $this$channelFlow), $completion);
|
|
38264
38264
|
}
|
|
38265
38265
|
md(p1, $completion) {
|
|
38266
|
-
return this.
|
|
38266
|
+
return this.z52((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38267
38267
|
}
|
|
38268
38268
|
}
|
|
38269
38269
|
class AttoNodeClientRemote$accountEntryStream$slambda_0 {
|
|
38270
38270
|
constructor($this, $urlPath, $search) {
|
|
38271
|
-
this.
|
|
38272
|
-
this.
|
|
38273
|
-
this.
|
|
38271
|
+
this.k52_1 = $this;
|
|
38272
|
+
this.l52_1 = $urlPath;
|
|
38273
|
+
this.m52_1 = $search;
|
|
38274
38274
|
}
|
|
38275
|
-
|
|
38275
|
+
z52($this$channelFlow, $completion) {
|
|
38276
38276
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_78.bind(VOID, this, $this$channelFlow), $completion);
|
|
38277
38277
|
}
|
|
38278
38278
|
md(p1, $completion) {
|
|
38279
|
-
return this.
|
|
38279
|
+
return this.z52((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38280
38280
|
}
|
|
38281
38281
|
}
|
|
38282
38282
|
class AttoNodeClientRemote$transaction$slambda {
|
|
38283
38283
|
constructor($this, $urlPath) {
|
|
38284
|
-
this.
|
|
38285
|
-
this.
|
|
38284
|
+
this.o52_1 = $this;
|
|
38285
|
+
this.p52_1 = $urlPath;
|
|
38286
38286
|
}
|
|
38287
|
-
|
|
38287
|
+
a53($this$channelFlow, $completion) {
|
|
38288
38288
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_80.bind(VOID, this, $this$channelFlow), $completion);
|
|
38289
38289
|
}
|
|
38290
38290
|
md(p1, $completion) {
|
|
38291
|
-
return this.
|
|
38291
|
+
return this.a53((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38292
38292
|
}
|
|
38293
38293
|
}
|
|
38294
38294
|
class AttoNodeClientRemote$transactionStream$slambda {
|
|
38295
38295
|
constructor($this, $urlPath) {
|
|
38296
|
-
this.
|
|
38297
|
-
this.
|
|
38296
|
+
this.r52_1 = $this;
|
|
38297
|
+
this.s52_1 = $urlPath;
|
|
38298
38298
|
}
|
|
38299
|
-
|
|
38299
|
+
a53($this$channelFlow, $completion) {
|
|
38300
38300
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_82.bind(VOID, this, $this$channelFlow), $completion);
|
|
38301
38301
|
}
|
|
38302
38302
|
md(p1, $completion) {
|
|
38303
|
-
return this.
|
|
38303
|
+
return this.a53((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38304
38304
|
}
|
|
38305
38305
|
}
|
|
38306
38306
|
class AttoNodeClientRemote$transactionStream$slambda_0 {
|
|
38307
38307
|
constructor($this, $urlPath, $search) {
|
|
38308
|
-
this.
|
|
38309
|
-
this.
|
|
38310
|
-
this.
|
|
38308
|
+
this.u52_1 = $this;
|
|
38309
|
+
this.v52_1 = $urlPath;
|
|
38310
|
+
this.w52_1 = $search;
|
|
38311
38311
|
}
|
|
38312
|
-
|
|
38312
|
+
a53($this$channelFlow, $completion) {
|
|
38313
38313
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_84.bind(VOID, this, $this$channelFlow), $completion);
|
|
38314
38314
|
}
|
|
38315
38315
|
md(p1, $completion) {
|
|
38316
|
-
return this.
|
|
38316
|
+
return this.a53((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
38317
38317
|
}
|
|
38318
38318
|
}
|
|
38319
38319
|
class AttoNodeClientRemote {
|
|
@@ -38325,8 +38325,8 @@ class AttoNodeClientRemote {
|
|
|
38325
38325
|
tmp = headerProvider;
|
|
38326
38326
|
}
|
|
38327
38327
|
headerProvider = tmp;
|
|
38328
|
-
this.
|
|
38329
|
-
this.
|
|
38328
|
+
this.o51_1 = baseUrl;
|
|
38329
|
+
this.p51_1 = headerProvider;
|
|
38330
38330
|
}
|
|
38331
38331
|
t4v(publicKey, $completion) {
|
|
38332
38332
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_account__bagbq1_0.bind(VOID, this, publicKey), $completion);
|
|
@@ -38418,47 +38418,47 @@ class remote$slambda {
|
|
|
38418
38418
|
}
|
|
38419
38419
|
class AttoNodeClientAsyncBuilder$build$slambda {
|
|
38420
38420
|
constructor(this$0) {
|
|
38421
|
-
this.
|
|
38421
|
+
this.b53_1 = this$0;
|
|
38422
38422
|
}
|
|
38423
38423
|
od($completion) {
|
|
38424
|
-
return this.
|
|
38424
|
+
return this.b53_1.d53_1;
|
|
38425
38425
|
}
|
|
38426
38426
|
}
|
|
38427
38427
|
class AttoNodeClientAsyncBuilder {
|
|
38428
38428
|
constructor(url) {
|
|
38429
|
-
this.
|
|
38430
|
-
this.
|
|
38429
|
+
this.c53_1 = url;
|
|
38430
|
+
this.d53_1 = emptyMap();
|
|
38431
38431
|
}
|
|
38432
38432
|
headers(value) {
|
|
38433
38433
|
// Inline function 'kotlin.apply' call
|
|
38434
|
-
this.
|
|
38434
|
+
this.d53_1 = value;
|
|
38435
38435
|
return this;
|
|
38436
38436
|
}
|
|
38437
38437
|
header(name, value) {
|
|
38438
38438
|
// Inline function 'kotlin.apply' call
|
|
38439
|
-
this.
|
|
38439
|
+
this.d53_1 = plus_5(this.d53_1, to(name, value));
|
|
38440
38440
|
return this;
|
|
38441
38441
|
}
|
|
38442
38442
|
build() {
|
|
38443
38443
|
var tmp = Companion_instance_114;
|
|
38444
|
-
return toAsync(remote(tmp, this.
|
|
38444
|
+
return toAsync(remote(tmp, this.c53_1, AttoNodeClientAsyncBuilder$build$slambda_0(this)));
|
|
38445
38445
|
}
|
|
38446
38446
|
}
|
|
38447
38447
|
class Companion_119 {}
|
|
38448
38448
|
class AttoWorker {}
|
|
38449
38449
|
function work(network, timestamp, target, $completion) {
|
|
38450
38450
|
var threshold = getThreshold(Companion_instance_112, network, timestamp);
|
|
38451
|
-
return this.
|
|
38451
|
+
return this.e53(threshold, target, $completion);
|
|
38452
38452
|
}
|
|
38453
38453
|
function work_0(block, $completion) {
|
|
38454
38454
|
var target = getTarget(block);
|
|
38455
|
-
return this.
|
|
38455
|
+
return this.f53(block.network, block.timestamp, target, $completion);
|
|
38456
38456
|
}
|
|
38457
38457
|
class AttoWorkerCache$delegateWork$slambda {
|
|
38458
38458
|
constructor($delegate, $target, this$0) {
|
|
38459
|
-
this.
|
|
38460
|
-
this.
|
|
38461
|
-
this.
|
|
38459
|
+
this.h53_1 = $delegate;
|
|
38460
|
+
this.i53_1 = $target;
|
|
38461
|
+
this.j53_1 = this$0;
|
|
38462
38462
|
}
|
|
38463
38463
|
v28($this$async, $completion) {
|
|
38464
38464
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_85.bind(VOID, this, $this$async), $completion);
|
|
@@ -38469,117 +38469,117 @@ class AttoWorkerCache$delegateWork$slambda {
|
|
|
38469
38469
|
}
|
|
38470
38470
|
class AttoWorkerCache$work$slambda {
|
|
38471
38471
|
constructor(this$0, $threshold) {
|
|
38472
|
-
this.
|
|
38473
|
-
this.
|
|
38472
|
+
this.o53_1 = this$0;
|
|
38473
|
+
this.p53_1 = $threshold;
|
|
38474
38474
|
}
|
|
38475
|
-
|
|
38476
|
-
return this.
|
|
38475
|
+
q53(it, $completion) {
|
|
38476
|
+
return this.o53_1.k53_1.e53(this.p53_1, it, $completion);
|
|
38477
38477
|
}
|
|
38478
38478
|
md(p1, $completion) {
|
|
38479
|
-
return this.
|
|
38479
|
+
return this.q53(p1 instanceof AttoWorkTarget ? p1 : THROW_CCE(), $completion);
|
|
38480
38480
|
}
|
|
38481
38481
|
}
|
|
38482
38482
|
class AttoWorkerCache$work$slambda_0 {
|
|
38483
38483
|
constructor(this$0, $network, $timestamp) {
|
|
38484
|
-
this.
|
|
38485
|
-
this.
|
|
38486
|
-
this.
|
|
38484
|
+
this.r53_1 = this$0;
|
|
38485
|
+
this.s53_1 = $network;
|
|
38486
|
+
this.t53_1 = $timestamp;
|
|
38487
38487
|
}
|
|
38488
|
-
|
|
38489
|
-
return this.
|
|
38488
|
+
q53(it, $completion) {
|
|
38489
|
+
return this.r53_1.k53_1.f53(this.s53_1, this.t53_1, it, $completion);
|
|
38490
38490
|
}
|
|
38491
38491
|
md(p1, $completion) {
|
|
38492
|
-
return this.
|
|
38492
|
+
return this.q53(p1 instanceof AttoWorkTarget ? p1 : THROW_CCE(), $completion);
|
|
38493
38493
|
}
|
|
38494
38494
|
}
|
|
38495
38495
|
class AttoWorkerCache$work$slambda_1 {
|
|
38496
38496
|
constructor(this$0, $block) {
|
|
38497
|
-
this.
|
|
38498
|
-
this.
|
|
38497
|
+
this.u53_1 = this$0;
|
|
38498
|
+
this.v53_1 = $block;
|
|
38499
38499
|
}
|
|
38500
|
-
|
|
38501
|
-
return this.
|
|
38500
|
+
q53(it, $completion) {
|
|
38501
|
+
return this.u53_1.k53_1.g53(this.v53_1, $completion);
|
|
38502
38502
|
}
|
|
38503
38503
|
md(p1, $completion) {
|
|
38504
|
-
return this.
|
|
38504
|
+
return this.q53(p1 instanceof AttoWorkTarget ? p1 : THROW_CCE(), $completion);
|
|
38505
38505
|
}
|
|
38506
38506
|
}
|
|
38507
38507
|
class AttoWorkerCache$work$slambda_2 {
|
|
38508
38508
|
constructor(this$0, $block) {
|
|
38509
|
-
this.
|
|
38510
|
-
this.
|
|
38509
|
+
this.w53_1 = this$0;
|
|
38510
|
+
this.x53_1 = $block;
|
|
38511
38511
|
}
|
|
38512
|
-
|
|
38513
|
-
return this.
|
|
38512
|
+
q53(it, $completion) {
|
|
38513
|
+
return this.w53_1.k53_1.f53(this.x53_1.network, Companion_instance_100.now(), it, $completion);
|
|
38514
38514
|
}
|
|
38515
38515
|
md(p1, $completion) {
|
|
38516
|
-
return this.
|
|
38516
|
+
return this.q53(p1 instanceof AttoWorkTarget ? p1 : THROW_CCE(), $completion);
|
|
38517
38517
|
}
|
|
38518
38518
|
}
|
|
38519
38519
|
class AttoWorkerCache {
|
|
38520
38520
|
constructor(delegate, dispatcher) {
|
|
38521
38521
|
dispatcher = dispatcher === VOID ? Dispatchers_getInstance().r20_1 : dispatcher;
|
|
38522
|
-
this.
|
|
38523
|
-
this.
|
|
38524
|
-
this.
|
|
38525
|
-
this.
|
|
38522
|
+
this.k53_1 = delegate;
|
|
38523
|
+
this.l53_1 = CoroutineScope_0(dispatcher.gl(SupervisorJob()));
|
|
38524
|
+
this.m53_1 = Mutex();
|
|
38525
|
+
this.n53_1 = HashMap.z8();
|
|
38526
38526
|
}
|
|
38527
|
-
|
|
38527
|
+
e53(threshold, target, $completion) {
|
|
38528
38528
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h.bind(VOID, this, threshold, target), $completion);
|
|
38529
38529
|
}
|
|
38530
|
-
|
|
38530
|
+
f53(network, timestamp, target, $completion) {
|
|
38531
38531
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h_0.bind(VOID, this, network, timestamp, target), $completion);
|
|
38532
38532
|
}
|
|
38533
|
-
|
|
38533
|
+
g53(block, $completion) {
|
|
38534
38534
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h_1.bind(VOID, this, block), $completion);
|
|
38535
38535
|
}
|
|
38536
38536
|
u6() {
|
|
38537
|
-
this.
|
|
38538
|
-
cancel(this.
|
|
38539
|
-
this.
|
|
38537
|
+
this.n53_1.s4();
|
|
38538
|
+
cancel(this.l53_1);
|
|
38539
|
+
this.k53_1.u6();
|
|
38540
38540
|
}
|
|
38541
38541
|
}
|
|
38542
38542
|
class AttoWorkerCpu {
|
|
38543
38543
|
constructor(parallelism) {
|
|
38544
|
-
this.
|
|
38545
|
-
this.
|
|
38544
|
+
this.y53_1 = parallelism;
|
|
38545
|
+
this.z53_1 = SupervisorJob();
|
|
38546
38546
|
var tmp = this;
|
|
38547
38547
|
var tmp_0 = Dispatchers_getInstance().r20_1;
|
|
38548
38548
|
// Inline function 'kotlin.UShort.toInt' call
|
|
38549
|
-
var this_0 = this.
|
|
38549
|
+
var this_0 = this.y53_1;
|
|
38550
38550
|
var tmp$ret$0 = _UShort___get_data__impl__g0245(this_0) & 65535;
|
|
38551
|
-
tmp.
|
|
38551
|
+
tmp.a54_1 = tmp_0.r1w(tmp$ret$0);
|
|
38552
38552
|
}
|
|
38553
|
-
|
|
38554
|
-
var controller = new WorkerController(this.
|
|
38555
|
-
return controller.
|
|
38553
|
+
e53(threshold, target, $completion) {
|
|
38554
|
+
var controller = new WorkerController(this.a54_1.gl(this.z53_1).gl(Job_0()), this.y53_1, threshold, target.g4u_1);
|
|
38555
|
+
return controller.g54($completion);
|
|
38556
38556
|
}
|
|
38557
38557
|
u6() {
|
|
38558
|
-
this.
|
|
38558
|
+
this.z53_1.p1r();
|
|
38559
38559
|
}
|
|
38560
38560
|
}
|
|
38561
38561
|
class WorkerController$calculate$slambda {
|
|
38562
38562
|
constructor($i, $rangeSize, this$0) {
|
|
38563
|
-
this.
|
|
38564
|
-
this.
|
|
38565
|
-
this.
|
|
38563
|
+
this.h54_1 = $i;
|
|
38564
|
+
this.i54_1 = $rangeSize;
|
|
38565
|
+
this.j54_1 = this$0;
|
|
38566
38566
|
}
|
|
38567
38567
|
v28($this$launch, $completion) {
|
|
38568
38568
|
// Inline function 'kotlin.toULong' call
|
|
38569
|
-
var this_0 = this.
|
|
38569
|
+
var this_0 = this.h54_1;
|
|
38570
38570
|
var tmp0 = _ULong___init__impl__c78o9k(fromInt_0(this_0));
|
|
38571
38571
|
// Inline function 'kotlin.ULong.times' call
|
|
38572
|
-
var other = this.
|
|
38572
|
+
var other = this.i54_1;
|
|
38573
38573
|
var start = _ULong___init__impl__c78o9k(multiply_0(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)));
|
|
38574
38574
|
// Inline function 'kotlin.ULong.plus' call
|
|
38575
|
-
var other_0 = this.
|
|
38575
|
+
var other_0 = this.i54_1;
|
|
38576
38576
|
var end = _ULong___init__impl__c78o9k(add_0(_ULong___get_data__impl__fggpzb(start), _ULong___get_data__impl__fggpzb(other_0)));
|
|
38577
38577
|
var work = toByteArray_4(start);
|
|
38578
38578
|
var current = start;
|
|
38579
38579
|
while (!(current === end) && get_isActive($this$launch)) {
|
|
38580
|
-
if (tryComplete(this.
|
|
38580
|
+
if (tryComplete(this.j54_1, work))
|
|
38581
38581
|
return Unit_instance;
|
|
38582
|
-
incrementByteArray(this.
|
|
38582
|
+
incrementByteArray(this.j54_1, work);
|
|
38583
38583
|
// Inline function 'kotlin.ULong.inc' call
|
|
38584
38584
|
var this_1 = current;
|
|
38585
38585
|
current = _ULong___init__impl__c78o9k(add_0(_ULong___get_data__impl__fggpzb(this_1), get_ONE()));
|
|
@@ -38592,25 +38592,25 @@ class WorkerController$calculate$slambda {
|
|
|
38592
38592
|
}
|
|
38593
38593
|
class WorkerController {
|
|
38594
38594
|
constructor(context, parallelism, threshold, target) {
|
|
38595
|
-
this.
|
|
38596
|
-
this.
|
|
38597
|
-
this.
|
|
38598
|
-
this.
|
|
38595
|
+
this.b54_1 = parallelism;
|
|
38596
|
+
this.c54_1 = threshold;
|
|
38597
|
+
this.d54_1 = target;
|
|
38598
|
+
this.e54_1 = CoroutineScope_0(context);
|
|
38599
38599
|
var tmp = this;
|
|
38600
38600
|
// Inline function 'kotlin.apply' call
|
|
38601
38601
|
var this_0 = CompletableDeferred();
|
|
38602
38602
|
this_0.h1r(WorkerController$result$lambda(this));
|
|
38603
|
-
tmp.
|
|
38603
|
+
tmp.f54_1 = this_0;
|
|
38604
38604
|
}
|
|
38605
|
-
|
|
38605
|
+
g54($completion) {
|
|
38606
38606
|
var tmp0 = _ULong___init__impl__c78o9k(-1n);
|
|
38607
38607
|
// Inline function 'kotlin.UShort.toULong' call
|
|
38608
|
-
var this_0 = this.
|
|
38608
|
+
var this_0 = this.b54_1;
|
|
38609
38609
|
// Inline function 'kotlin.ULong.div' call
|
|
38610
38610
|
var other = _ULong___init__impl__c78o9k(fromInt_0(_UShort___get_data__impl__g0245(this_0)) & 65535n);
|
|
38611
38611
|
var rangeSize = ulongDivide(tmp0, other);
|
|
38612
38612
|
// Inline function 'kotlin.UShort.toInt' call
|
|
38613
|
-
var this_1 = this.
|
|
38613
|
+
var this_1 = this.b54_1;
|
|
38614
38614
|
// Inline function 'kotlin.repeat' call
|
|
38615
38615
|
var times = _UShort___get_data__impl__g0245(this_1) & 65535;
|
|
38616
38616
|
var inductionVariable = 0;
|
|
@@ -38618,10 +38618,10 @@ class WorkerController {
|
|
|
38618
38618
|
do {
|
|
38619
38619
|
var index = inductionVariable;
|
|
38620
38620
|
inductionVariable = inductionVariable + 1 | 0;
|
|
38621
|
-
launch(this.
|
|
38621
|
+
launch(this.e54_1, VOID, VOID, WorkerController$calculate$slambda_0(index, rangeSize, this));
|
|
38622
38622
|
}
|
|
38623
38623
|
while (inductionVariable < times);
|
|
38624
|
-
return this.
|
|
38624
|
+
return this.f54_1.s1s($completion);
|
|
38625
38625
|
}
|
|
38626
38626
|
}
|
|
38627
38627
|
class Companion_120 {
|
|
@@ -38632,7 +38632,7 @@ class Companion_120 {
|
|
|
38632
38632
|
// Inline function 'kotlin.arrayOf' call
|
|
38633
38633
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
38634
38634
|
// Inline function 'kotlin.js.asDynamic' call
|
|
38635
|
-
tmp.
|
|
38635
|
+
tmp.k54_1 = [lazy(tmp_0, AttoWorkerOperations$Request$Companion$$childSerializers$_anonymous__k0cb7d), null, null];
|
|
38636
38636
|
}
|
|
38637
38637
|
}
|
|
38638
38638
|
class $serializer_13 {
|
|
@@ -38642,22 +38642,22 @@ class $serializer_13 {
|
|
|
38642
38642
|
tmp0_serialDesc.c15('network', false);
|
|
38643
38643
|
tmp0_serialDesc.c15('timestamp', false);
|
|
38644
38644
|
tmp0_serialDesc.c15('target', false);
|
|
38645
|
-
this.
|
|
38645
|
+
this.l54_1 = tmp0_serialDesc;
|
|
38646
38646
|
}
|
|
38647
|
-
|
|
38648
|
-
var tmp0_desc = this.
|
|
38647
|
+
m54(encoder, value) {
|
|
38648
|
+
var tmp0_desc = this.l54_1;
|
|
38649
38649
|
var tmp1_output = encoder.ox(tmp0_desc);
|
|
38650
|
-
var tmp2_cached = Companion_getInstance_120().
|
|
38651
|
-
tmp1_output.fz(tmp0_desc, 0, tmp2_cached[0].g3(), value.
|
|
38652
|
-
tmp1_output.fz(tmp0_desc, 1, AttoInstantAsLongSerializer_getInstance(), value.
|
|
38653
|
-
tmp1_output.dz(tmp0_desc, 2, value.
|
|
38650
|
+
var tmp2_cached = Companion_getInstance_120().k54_1;
|
|
38651
|
+
tmp1_output.fz(tmp0_desc, 0, tmp2_cached[0].g3(), value.n54_1);
|
|
38652
|
+
tmp1_output.fz(tmp0_desc, 1, AttoInstantAsLongSerializer_getInstance(), value.o54_1);
|
|
38653
|
+
tmp1_output.dz(tmp0_desc, 2, value.p54_1);
|
|
38654
38654
|
tmp1_output.px(tmp0_desc);
|
|
38655
38655
|
}
|
|
38656
38656
|
at(encoder, value) {
|
|
38657
|
-
return this.
|
|
38657
|
+
return this.m54(encoder, value instanceof Request ? value : THROW_CCE());
|
|
38658
38658
|
}
|
|
38659
38659
|
bt(decoder) {
|
|
38660
|
-
var tmp0_desc = this.
|
|
38660
|
+
var tmp0_desc = this.l54_1;
|
|
38661
38661
|
var tmp1_flag = true;
|
|
38662
38662
|
var tmp2_index = 0;
|
|
38663
38663
|
var tmp3_bitMask0 = 0;
|
|
@@ -38665,7 +38665,7 @@ class $serializer_13 {
|
|
|
38665
38665
|
var tmp5_local1 = null;
|
|
38666
38666
|
var tmp6_local2 = null;
|
|
38667
38667
|
var tmp7_input = decoder.ox(tmp0_desc);
|
|
38668
|
-
var tmp8_cached = Companion_getInstance_120().
|
|
38668
|
+
var tmp8_cached = Companion_getInstance_120().k54_1;
|
|
38669
38669
|
if (tmp7_input.dy()) {
|
|
38670
38670
|
tmp4_local0 = tmp7_input.ay(tmp0_desc, 0, tmp8_cached[0].g3(), tmp4_local0);
|
|
38671
38671
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -38697,16 +38697,16 @@ class $serializer_13 {
|
|
|
38697
38697
|
}
|
|
38698
38698
|
}
|
|
38699
38699
|
tmp7_input.px(tmp0_desc);
|
|
38700
|
-
return Request.
|
|
38700
|
+
return Request.q54(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
38701
38701
|
}
|
|
38702
38702
|
zs() {
|
|
38703
|
-
return this.
|
|
38703
|
+
return this.l54_1;
|
|
38704
38704
|
}
|
|
38705
38705
|
r15() {
|
|
38706
38706
|
// Inline function 'kotlin.arrayOf' call
|
|
38707
38707
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
38708
38708
|
// Inline function 'kotlin.js.asDynamic' call
|
|
38709
|
-
return [Companion_getInstance_120().
|
|
38709
|
+
return [Companion_getInstance_120().k54_1[0].g3(), AttoInstantAsLongSerializer_getInstance(), StringSerializer_getInstance()];
|
|
38710
38710
|
}
|
|
38711
38711
|
}
|
|
38712
38712
|
class Companion_121 {}
|
|
@@ -38715,19 +38715,19 @@ class $serializer_14 {
|
|
|
38715
38715
|
$serializer_instance_14 = this;
|
|
38716
38716
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('cash.atto.commons.worker.AttoWorkerOperations.Response', this, 1);
|
|
38717
38717
|
tmp0_serialDesc.c15('work', false);
|
|
38718
|
-
this.
|
|
38718
|
+
this.r54_1 = tmp0_serialDesc;
|
|
38719
38719
|
}
|
|
38720
|
-
|
|
38721
|
-
var tmp0_desc = this.
|
|
38720
|
+
s54(encoder, value) {
|
|
38721
|
+
var tmp0_desc = this.r54_1;
|
|
38722
38722
|
var tmp1_output = encoder.ox(tmp0_desc);
|
|
38723
|
-
tmp1_output.fz(tmp0_desc, 0, AttoWorkAsStringSerializer_getInstance(), value.
|
|
38723
|
+
tmp1_output.fz(tmp0_desc, 0, AttoWorkAsStringSerializer_getInstance(), value.t54_1);
|
|
38724
38724
|
tmp1_output.px(tmp0_desc);
|
|
38725
38725
|
}
|
|
38726
38726
|
at(encoder, value) {
|
|
38727
|
-
return this.
|
|
38727
|
+
return this.s54(encoder, value instanceof Response ? value : THROW_CCE());
|
|
38728
38728
|
}
|
|
38729
38729
|
bt(decoder) {
|
|
38730
|
-
var tmp0_desc = this.
|
|
38730
|
+
var tmp0_desc = this.r54_1;
|
|
38731
38731
|
var tmp1_flag = true;
|
|
38732
38732
|
var tmp2_index = 0;
|
|
38733
38733
|
var tmp3_bitMask0 = 0;
|
|
@@ -38752,10 +38752,10 @@ class $serializer_14 {
|
|
|
38752
38752
|
}
|
|
38753
38753
|
}
|
|
38754
38754
|
tmp5_input.px(tmp0_desc);
|
|
38755
|
-
return Response.
|
|
38755
|
+
return Response.u54(tmp3_bitMask0, tmp4_local0, null);
|
|
38756
38756
|
}
|
|
38757
38757
|
zs() {
|
|
38758
|
-
return this.
|
|
38758
|
+
return this.r54_1;
|
|
38759
38759
|
}
|
|
38760
38760
|
r15() {
|
|
38761
38761
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -38767,17 +38767,17 @@ class $serializer_14 {
|
|
|
38767
38767
|
class Request {
|
|
38768
38768
|
constructor(network, timestamp, target) {
|
|
38769
38769
|
Companion_getInstance_120();
|
|
38770
|
-
this.
|
|
38771
|
-
this.
|
|
38772
|
-
this.
|
|
38770
|
+
this.n54_1 = network;
|
|
38771
|
+
this.o54_1 = timestamp;
|
|
38772
|
+
this.p54_1 = target;
|
|
38773
38773
|
}
|
|
38774
38774
|
toString() {
|
|
38775
|
-
return 'Request(network=' + this.
|
|
38775
|
+
return 'Request(network=' + this.n54_1.toString() + ', timestamp=' + this.o54_1.toString() + ', target=' + this.p54_1 + ')';
|
|
38776
38776
|
}
|
|
38777
38777
|
hashCode() {
|
|
38778
|
-
var result = this.
|
|
38779
|
-
result = imul_0(result, 31) + this.
|
|
38780
|
-
result = imul_0(result, 31) + getStringHashCode(this.
|
|
38778
|
+
var result = this.n54_1.hashCode();
|
|
38779
|
+
result = imul_0(result, 31) + this.o54_1.hashCode() | 0;
|
|
38780
|
+
result = imul_0(result, 31) + getStringHashCode(this.p54_1) | 0;
|
|
38781
38781
|
return result;
|
|
38782
38782
|
}
|
|
38783
38783
|
equals(other) {
|
|
@@ -38785,48 +38785,48 @@ class Request {
|
|
|
38785
38785
|
return true;
|
|
38786
38786
|
if (!(other instanceof Request))
|
|
38787
38787
|
return false;
|
|
38788
|
-
if (!this.m54_1.equals(other.m54_1))
|
|
38789
|
-
return false;
|
|
38790
38788
|
if (!this.n54_1.equals(other.n54_1))
|
|
38791
38789
|
return false;
|
|
38792
|
-
if (!
|
|
38790
|
+
if (!this.o54_1.equals(other.o54_1))
|
|
38791
|
+
return false;
|
|
38792
|
+
if (!(this.p54_1 === other.p54_1))
|
|
38793
38793
|
return false;
|
|
38794
38794
|
return true;
|
|
38795
38795
|
}
|
|
38796
|
-
static
|
|
38796
|
+
static q54(seen0, network, timestamp, target, serializationConstructorMarker) {
|
|
38797
38797
|
Companion_getInstance_120();
|
|
38798
38798
|
if (!(7 === (7 & seen0))) {
|
|
38799
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_13().
|
|
38799
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_13().l54_1);
|
|
38800
38800
|
}
|
|
38801
38801
|
var $this = createThis(this);
|
|
38802
|
-
$this.
|
|
38803
|
-
$this.
|
|
38804
|
-
$this.
|
|
38802
|
+
$this.n54_1 = network;
|
|
38803
|
+
$this.o54_1 = timestamp;
|
|
38804
|
+
$this.p54_1 = target;
|
|
38805
38805
|
return $this;
|
|
38806
38806
|
}
|
|
38807
38807
|
}
|
|
38808
38808
|
class Response {
|
|
38809
38809
|
toString() {
|
|
38810
|
-
return 'Response(work=' + this.
|
|
38810
|
+
return 'Response(work=' + this.t54_1.toString() + ')';
|
|
38811
38811
|
}
|
|
38812
38812
|
hashCode() {
|
|
38813
|
-
return this.
|
|
38813
|
+
return this.t54_1.hashCode();
|
|
38814
38814
|
}
|
|
38815
38815
|
equals(other) {
|
|
38816
38816
|
if (this === other)
|
|
38817
38817
|
return true;
|
|
38818
38818
|
if (!(other instanceof Response))
|
|
38819
38819
|
return false;
|
|
38820
|
-
if (!this.
|
|
38820
|
+
if (!this.t54_1.equals(other.t54_1))
|
|
38821
38821
|
return false;
|
|
38822
38822
|
return true;
|
|
38823
38823
|
}
|
|
38824
|
-
static
|
|
38824
|
+
static u54(seen0, work, serializationConstructorMarker) {
|
|
38825
38825
|
if (!(1 === (1 & seen0))) {
|
|
38826
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_14().
|
|
38826
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_14().r54_1);
|
|
38827
38827
|
}
|
|
38828
38828
|
var $this = createThis(this);
|
|
38829
|
-
$this.
|
|
38829
|
+
$this.t54_1 = work;
|
|
38830
38830
|
return $this;
|
|
38831
38831
|
}
|
|
38832
38832
|
}
|
|
@@ -38838,35 +38838,35 @@ class AttoWorkerAsync {
|
|
|
38838
38838
|
constructor(worker, dispatcher) {
|
|
38839
38839
|
this.worker = worker;
|
|
38840
38840
|
}
|
|
38841
|
-
|
|
38841
|
+
w54() {
|
|
38842
38842
|
return this.worker;
|
|
38843
38843
|
}
|
|
38844
38844
|
workThreshold(threshold, target) {
|
|
38845
|
-
return promisify(($completion) => this.
|
|
38845
|
+
return promisify(($completion) => this.x54(threshold, target, $completion));
|
|
38846
38846
|
}
|
|
38847
|
-
|
|
38847
|
+
x54(threshold, target, $completion) {
|
|
38848
38848
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work$suspendBridge__si7tu2.bind(VOID, this, threshold, target), $completion);
|
|
38849
38849
|
}
|
|
38850
|
-
|
|
38851
|
-
return this.worker.
|
|
38850
|
+
e53(threshold, target, $completion) {
|
|
38851
|
+
return this.worker.e53(threshold, target, $completion);
|
|
38852
38852
|
}
|
|
38853
38853
|
workNetwork(network, timestamp, target) {
|
|
38854
|
-
return promisify(($completion) => this.
|
|
38854
|
+
return promisify(($completion) => this.y54(network, timestamp, target, $completion));
|
|
38855
38855
|
}
|
|
38856
|
-
|
|
38856
|
+
y54(network, timestamp, target, $completion) {
|
|
38857
38857
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work$suspendBridge__si7tu2_0.bind(VOID, this, network, timestamp, target), $completion);
|
|
38858
38858
|
}
|
|
38859
|
-
|
|
38860
|
-
return this.worker.
|
|
38859
|
+
f53(network, timestamp, target, $completion) {
|
|
38860
|
+
return this.worker.f53(network, timestamp, target, $completion);
|
|
38861
38861
|
}
|
|
38862
38862
|
workBlock(block) {
|
|
38863
|
-
return promisify(($completion) => this.
|
|
38863
|
+
return promisify(($completion) => this.z54(block, $completion));
|
|
38864
38864
|
}
|
|
38865
|
-
|
|
38865
|
+
z54(block, $completion) {
|
|
38866
38866
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work$suspendBridge__si7tu2_1.bind(VOID, this, block), $completion);
|
|
38867
38867
|
}
|
|
38868
|
-
|
|
38869
|
-
return this.worker.
|
|
38868
|
+
g53(block, $completion) {
|
|
38869
|
+
return this.worker.g53(block, $completion);
|
|
38870
38870
|
}
|
|
38871
38871
|
}
|
|
38872
38872
|
class WorkerRemote$_init_$slambda_6gmo0o {
|
|
@@ -38883,13 +38883,13 @@ class WorkerRemote {
|
|
|
38883
38883
|
tmp = headerProvider;
|
|
38884
38884
|
}
|
|
38885
38885
|
headerProvider = tmp;
|
|
38886
|
-
this.
|
|
38887
|
-
this.
|
|
38886
|
+
this.a55_1 = url;
|
|
38887
|
+
this.b55_1 = headerProvider;
|
|
38888
38888
|
}
|
|
38889
|
-
|
|
38889
|
+
e53(threshold, target, $completion) {
|
|
38890
38890
|
throw NotImplementedError.ld();
|
|
38891
38891
|
}
|
|
38892
|
-
|
|
38892
|
+
v54(request, $completion) {
|
|
38893
38893
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_work__qfjd2h_3.bind(VOID, this, request), $completion);
|
|
38894
38894
|
}
|
|
38895
38895
|
u6() {
|
|
@@ -38902,37 +38902,37 @@ class remote$slambda_0 {
|
|
|
38902
38902
|
}
|
|
38903
38903
|
class AttoWorkerAsyncBuilder$build$slambda {
|
|
38904
38904
|
constructor(this$0) {
|
|
38905
|
-
this.
|
|
38905
|
+
this.c55_1 = this$0;
|
|
38906
38906
|
}
|
|
38907
38907
|
od($completion) {
|
|
38908
|
-
return this.
|
|
38908
|
+
return this.c55_1.f55_1;
|
|
38909
38909
|
}
|
|
38910
38910
|
}
|
|
38911
38911
|
class AttoWorkerAsyncBuilder {
|
|
38912
38912
|
constructor(url) {
|
|
38913
|
-
this.
|
|
38914
|
-
this.
|
|
38915
|
-
this.
|
|
38916
|
-
this.
|
|
38913
|
+
this.d55_1 = url;
|
|
38914
|
+
this.e55_1 = true;
|
|
38915
|
+
this.f55_1 = emptyMap();
|
|
38916
|
+
this.g55_1 = null;
|
|
38917
38917
|
}
|
|
38918
38918
|
headers(value) {
|
|
38919
38919
|
// Inline function 'kotlin.apply' call
|
|
38920
|
-
this.
|
|
38920
|
+
this.f55_1 = value;
|
|
38921
38921
|
return this;
|
|
38922
38922
|
}
|
|
38923
38923
|
header(name, value) {
|
|
38924
38924
|
// Inline function 'kotlin.apply' call
|
|
38925
|
-
this.
|
|
38925
|
+
this.f55_1 = plus_5(this.f55_1, to(name, value));
|
|
38926
38926
|
return this;
|
|
38927
38927
|
}
|
|
38928
38928
|
cached(value) {
|
|
38929
38929
|
// Inline function 'kotlin.apply' call
|
|
38930
|
-
this.
|
|
38930
|
+
this.e55_1 = value;
|
|
38931
38931
|
return this;
|
|
38932
38932
|
}
|
|
38933
38933
|
retryEvery(value) {
|
|
38934
38934
|
// Inline function 'kotlin.apply' call
|
|
38935
|
-
this.
|
|
38935
|
+
this.g55_1 = value;
|
|
38936
38936
|
return this;
|
|
38937
38937
|
}
|
|
38938
38938
|
retryEverySeconds(value) {
|
|
@@ -38940,15 +38940,15 @@ class AttoWorkerAsyncBuilder {
|
|
|
38940
38940
|
var tmp = this;
|
|
38941
38941
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
38942
38942
|
Companion_getInstance_19();
|
|
38943
|
-
tmp.
|
|
38943
|
+
tmp.g55_1 = toDuration_0(value, DurationUnit_SECONDS_getInstance());
|
|
38944
38944
|
return this;
|
|
38945
38945
|
}
|
|
38946
38946
|
build() {
|
|
38947
38947
|
var tmp = Companion_instance_119;
|
|
38948
38948
|
// Inline function 'kotlin.let' call
|
|
38949
|
-
var it = remote_0(tmp, this.
|
|
38949
|
+
var it = remote_0(tmp, this.d55_1, AttoWorkerAsyncBuilder$build$slambda_0(this));
|
|
38950
38950
|
var tmp_0;
|
|
38951
|
-
if (this.
|
|
38951
|
+
if (this.e55_1) {
|
|
38952
38952
|
tmp_0 = cached(it);
|
|
38953
38953
|
} else {
|
|
38954
38954
|
tmp_0 = it;
|
|
@@ -38961,18 +38961,18 @@ class AttoWorkerMockConfiguration {
|
|
|
38961
38961
|
constructor(name, image) {
|
|
38962
38962
|
name = name === VOID ? 'worker-server' : name;
|
|
38963
38963
|
image = image === VOID ? 'ghcr.io/attocash/work-server:cpu' : image;
|
|
38964
|
-
this.
|
|
38965
|
-
this.
|
|
38964
|
+
this.h55_1 = name;
|
|
38965
|
+
this.i55_1 = image;
|
|
38966
38966
|
}
|
|
38967
|
-
|
|
38967
|
+
j55(name, image) {
|
|
38968
38968
|
return new AttoWorkerMockConfiguration(name, image);
|
|
38969
38969
|
}
|
|
38970
38970
|
toString() {
|
|
38971
|
-
return 'AttoWorkerMockConfiguration(name=' + this.
|
|
38971
|
+
return 'AttoWorkerMockConfiguration(name=' + this.h55_1 + ', image=' + this.i55_1 + ')';
|
|
38972
38972
|
}
|
|
38973
38973
|
hashCode() {
|
|
38974
|
-
var result = getStringHashCode(this.
|
|
38975
|
-
result = imul_0(result, 31) + getStringHashCode(this.
|
|
38974
|
+
var result = getStringHashCode(this.h55_1);
|
|
38975
|
+
result = imul_0(result, 31) + getStringHashCode(this.i55_1) | 0;
|
|
38976
38976
|
return result;
|
|
38977
38977
|
}
|
|
38978
38978
|
equals(other) {
|
|
@@ -38980,10 +38980,10 @@ class AttoWorkerMockConfiguration {
|
|
|
38980
38980
|
return true;
|
|
38981
38981
|
if (!(other instanceof AttoWorkerMockConfiguration))
|
|
38982
38982
|
return false;
|
|
38983
|
-
if (!(this.g55_1 === other.g55_1))
|
|
38984
|
-
return false;
|
|
38985
38983
|
if (!(this.h55_1 === other.h55_1))
|
|
38986
38984
|
return false;
|
|
38985
|
+
if (!(this.i55_1 === other.i55_1))
|
|
38986
|
+
return false;
|
|
38987
38987
|
return true;
|
|
38988
38988
|
}
|
|
38989
38989
|
}
|
|
@@ -39004,28 +39004,28 @@ class AttoNodeMockConfiguration {
|
|
|
39004
39004
|
this.dbUser = dbUser;
|
|
39005
39005
|
this.dbPassword = dbPassword;
|
|
39006
39006
|
}
|
|
39007
|
-
|
|
39007
|
+
k55() {
|
|
39008
39008
|
return this.genesisTransaction;
|
|
39009
39009
|
}
|
|
39010
|
-
|
|
39010
|
+
l55() {
|
|
39011
39011
|
return this.privateKey;
|
|
39012
39012
|
}
|
|
39013
39013
|
i1() {
|
|
39014
39014
|
return this.name;
|
|
39015
39015
|
}
|
|
39016
|
-
|
|
39016
|
+
m55() {
|
|
39017
39017
|
return this.image;
|
|
39018
39018
|
}
|
|
39019
|
-
|
|
39019
|
+
n55() {
|
|
39020
39020
|
return this.mysqlImage;
|
|
39021
39021
|
}
|
|
39022
|
-
|
|
39022
|
+
o55() {
|
|
39023
39023
|
return this.dbName;
|
|
39024
39024
|
}
|
|
39025
|
-
|
|
39025
|
+
p55() {
|
|
39026
39026
|
return this.dbUser;
|
|
39027
39027
|
}
|
|
39028
|
-
|
|
39028
|
+
q55() {
|
|
39029
39029
|
return this.dbPassword;
|
|
39030
39030
|
}
|
|
39031
39031
|
bf() {
|
|
@@ -39052,7 +39052,7 @@ class AttoNodeMockConfiguration {
|
|
|
39052
39052
|
d4l() {
|
|
39053
39053
|
return this.dbPassword;
|
|
39054
39054
|
}
|
|
39055
|
-
|
|
39055
|
+
r55(genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword) {
|
|
39056
39056
|
return new AttoNodeMockConfiguration(genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword);
|
|
39057
39057
|
}
|
|
39058
39058
|
copy(genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword, $super) {
|
|
@@ -39064,7 +39064,7 @@ class AttoNodeMockConfiguration {
|
|
|
39064
39064
|
dbName = dbName === VOID ? this.dbName : dbName;
|
|
39065
39065
|
dbUser = dbUser === VOID ? this.dbUser : dbUser;
|
|
39066
39066
|
dbPassword = dbPassword === VOID ? this.dbPassword : dbPassword;
|
|
39067
|
-
return $super === VOID ? this.
|
|
39067
|
+
return $super === VOID ? this.r55(genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword) : $super.r55.call(this, genesisTransaction, privateKey, name, image, mysqlImage, dbName, dbUser, dbPassword);
|
|
39068
39068
|
}
|
|
39069
39069
|
toString() {
|
|
39070
39070
|
return 'AttoNodeMockConfiguration(genesisTransaction=' + this.genesisTransaction.toString() + ', privateKey=' + this.privateKey.toString() + ', name=' + this.name + ', image=' + this.image + ', mysqlImage=' + this.mysqlImage + ', dbName=' + this.dbName + ', dbUser=' + this.dbUser + ', dbPassword=' + this.dbPassword + ')';
|
|
@@ -39107,215 +39107,215 @@ class AttoNodeMockConfiguration {
|
|
|
39107
39107
|
class Companion_122 {}
|
|
39108
39108
|
class AttoNodeMock {
|
|
39109
39109
|
constructor(configuration) {
|
|
39110
|
-
this.
|
|
39111
|
-
this.s55_1 = null;
|
|
39110
|
+
this.s55_1 = configuration;
|
|
39112
39111
|
this.t55_1 = null;
|
|
39113
39112
|
this.u55_1 = null;
|
|
39114
|
-
this.v55_1 =
|
|
39113
|
+
this.v55_1 = null;
|
|
39114
|
+
this.w55_1 = false;
|
|
39115
39115
|
}
|
|
39116
|
-
|
|
39116
|
+
x55() {
|
|
39117
39117
|
// Inline function 'kotlin.require' call
|
|
39118
|
-
if (!this.
|
|
39118
|
+
if (!this.w55_1) {
|
|
39119
39119
|
var message = 'Node must have started to access the url';
|
|
39120
39120
|
throw IllegalArgumentException.s2(toString_1(message));
|
|
39121
39121
|
}
|
|
39122
|
-
var tmp = this.
|
|
39122
|
+
var tmp = this.v55_1.getHost();
|
|
39123
39123
|
var host = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE();
|
|
39124
|
-
var tmp_0 = this.
|
|
39124
|
+
var tmp_0 = this.v55_1.getMappedPort(8080);
|
|
39125
39125
|
var port = (!(tmp_0 == null) ? typeof tmp_0 === 'number' : false) ? tmp_0 : THROW_CCE();
|
|
39126
39126
|
return 'http://' + host + ':' + port;
|
|
39127
39127
|
}
|
|
39128
|
-
|
|
39129
|
-
return this.
|
|
39128
|
+
k55() {
|
|
39129
|
+
return this.s55_1.genesisTransaction;
|
|
39130
39130
|
}
|
|
39131
|
-
|
|
39131
|
+
y55($completion) {
|
|
39132
39132
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_start__v5y7pu.bind(VOID, this), $completion);
|
|
39133
39133
|
}
|
|
39134
39134
|
u6() {
|
|
39135
|
-
if (this.
|
|
39136
|
-
var tmp0_safe_receiver = this.
|
|
39135
|
+
if (this.w55_1) {
|
|
39136
|
+
var tmp0_safe_receiver = this.v55_1;
|
|
39137
39137
|
if (tmp0_safe_receiver == null)
|
|
39138
39138
|
null;
|
|
39139
39139
|
else
|
|
39140
39140
|
tmp0_safe_receiver.stop();
|
|
39141
|
-
var tmp1_safe_receiver = this.
|
|
39141
|
+
var tmp1_safe_receiver = this.u55_1;
|
|
39142
39142
|
if (tmp1_safe_receiver == null)
|
|
39143
39143
|
null;
|
|
39144
39144
|
else
|
|
39145
39145
|
tmp1_safe_receiver.stop();
|
|
39146
|
-
var tmp2_safe_receiver = this.
|
|
39146
|
+
var tmp2_safe_receiver = this.t55_1;
|
|
39147
39147
|
if (tmp2_safe_receiver == null)
|
|
39148
39148
|
null;
|
|
39149
39149
|
else
|
|
39150
39150
|
tmp2_safe_receiver.stop();
|
|
39151
|
-
this.
|
|
39151
|
+
this.w55_1 = false;
|
|
39152
39152
|
}
|
|
39153
39153
|
}
|
|
39154
39154
|
}
|
|
39155
39155
|
class AttoNodeMockAsync {
|
|
39156
39156
|
constructor(mock, dispatcher) {
|
|
39157
|
-
this.
|
|
39157
|
+
this.z55_1 = mock;
|
|
39158
39158
|
}
|
|
39159
|
-
|
|
39160
|
-
return this.
|
|
39159
|
+
x55() {
|
|
39160
|
+
return this.z55_1.x55();
|
|
39161
39161
|
}
|
|
39162
|
-
|
|
39163
|
-
return this.
|
|
39162
|
+
k55() {
|
|
39163
|
+
return this.z55_1.k55();
|
|
39164
39164
|
}
|
|
39165
39165
|
start() {
|
|
39166
|
-
return promisify(($completion) => this.
|
|
39166
|
+
return promisify(($completion) => this.a56($completion));
|
|
39167
39167
|
}
|
|
39168
|
-
|
|
39168
|
+
a56($completion) {
|
|
39169
39169
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_start$suspendBridge__sgn8nj.bind(VOID, this), $completion);
|
|
39170
39170
|
}
|
|
39171
|
-
|
|
39172
|
-
return this.
|
|
39171
|
+
y55($completion) {
|
|
39172
|
+
return this.z55_1.y55($completion);
|
|
39173
39173
|
}
|
|
39174
39174
|
close() {
|
|
39175
|
-
this.
|
|
39175
|
+
this.z55_1.u6();
|
|
39176
39176
|
}
|
|
39177
39177
|
get baseUrl() {
|
|
39178
|
-
return this.
|
|
39178
|
+
return this.x55();
|
|
39179
39179
|
}
|
|
39180
39180
|
get genesisTransaction() {
|
|
39181
|
-
return this.
|
|
39181
|
+
return this.k55();
|
|
39182
39182
|
}
|
|
39183
39183
|
}
|
|
39184
39184
|
class AttoNodeMockAsyncBuilder {
|
|
39185
39185
|
constructor(privateKey) {
|
|
39186
|
-
this.
|
|
39187
|
-
this.b56_1 = null;
|
|
39186
|
+
this.b56_1 = privateKey;
|
|
39188
39187
|
this.c56_1 = null;
|
|
39189
39188
|
this.d56_1 = null;
|
|
39190
39189
|
this.e56_1 = null;
|
|
39191
39190
|
this.f56_1 = null;
|
|
39192
39191
|
this.g56_1 = null;
|
|
39193
39192
|
this.h56_1 = null;
|
|
39193
|
+
this.i56_1 = null;
|
|
39194
39194
|
}
|
|
39195
39195
|
name(value) {
|
|
39196
39196
|
// Inline function 'kotlin.apply' call
|
|
39197
|
-
this.
|
|
39197
|
+
this.c56_1 = value;
|
|
39198
39198
|
return this;
|
|
39199
39199
|
}
|
|
39200
39200
|
image(value) {
|
|
39201
39201
|
// Inline function 'kotlin.apply' call
|
|
39202
|
-
this.
|
|
39202
|
+
this.d56_1 = value;
|
|
39203
39203
|
return this;
|
|
39204
39204
|
}
|
|
39205
39205
|
mysqlImage(value) {
|
|
39206
39206
|
// Inline function 'kotlin.apply' call
|
|
39207
|
-
this.
|
|
39207
|
+
this.e56_1 = value;
|
|
39208
39208
|
return this;
|
|
39209
39209
|
}
|
|
39210
39210
|
dbName(value) {
|
|
39211
39211
|
// Inline function 'kotlin.apply' call
|
|
39212
|
-
this.
|
|
39212
|
+
this.f56_1 = value;
|
|
39213
39213
|
return this;
|
|
39214
39214
|
}
|
|
39215
39215
|
dbUser(value) {
|
|
39216
39216
|
// Inline function 'kotlin.apply' call
|
|
39217
|
-
this.
|
|
39217
|
+
this.g56_1 = value;
|
|
39218
39218
|
return this;
|
|
39219
39219
|
}
|
|
39220
39220
|
dbPassword(value) {
|
|
39221
39221
|
// Inline function 'kotlin.apply' call
|
|
39222
|
-
this.
|
|
39222
|
+
this.h56_1 = value;
|
|
39223
39223
|
return this;
|
|
39224
39224
|
}
|
|
39225
39225
|
genesis(value) {
|
|
39226
39226
|
// Inline function 'kotlin.apply' call
|
|
39227
|
-
this.
|
|
39227
|
+
this.i56_1 = value;
|
|
39228
39228
|
return this;
|
|
39229
39229
|
}
|
|
39230
39230
|
build() {
|
|
39231
|
-
return promisify(($completion) => this.
|
|
39231
|
+
return promisify(($completion) => this.k56($completion));
|
|
39232
39232
|
}
|
|
39233
|
-
|
|
39233
|
+
k56($completion) {
|
|
39234
39234
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_build$suspendBridge__cfhiw5.bind(VOID, this), $completion);
|
|
39235
39235
|
}
|
|
39236
|
-
|
|
39236
|
+
j56($completion) {
|
|
39237
39237
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_build__n4veo6.bind(VOID, this), $completion);
|
|
39238
39238
|
}
|
|
39239
39239
|
}
|
|
39240
39240
|
class Companion_123 {}
|
|
39241
39241
|
class AttoWorkerMock {
|
|
39242
39242
|
constructor(configuration) {
|
|
39243
|
-
this.
|
|
39244
|
-
this.
|
|
39245
|
-
this.
|
|
39243
|
+
this.l56_1 = configuration;
|
|
39244
|
+
this.m56_1 = null;
|
|
39245
|
+
this.n56_1 = false;
|
|
39246
39246
|
}
|
|
39247
|
-
|
|
39247
|
+
x55() {
|
|
39248
39248
|
// Inline function 'kotlin.require' call
|
|
39249
|
-
if (!this.
|
|
39249
|
+
if (!this.n56_1) {
|
|
39250
39250
|
var message = 'Work server must have started to access the url';
|
|
39251
39251
|
throw IllegalArgumentException.s2(toString_1(message));
|
|
39252
39252
|
}
|
|
39253
|
-
var tmp = this.
|
|
39253
|
+
var tmp = this.m56_1.getHost();
|
|
39254
39254
|
var host = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE();
|
|
39255
|
-
var tmp_0 = this.
|
|
39255
|
+
var tmp_0 = this.m56_1.getMappedPort(8080);
|
|
39256
39256
|
var port = (!(tmp_0 == null) ? typeof tmp_0 === 'number' : false) ? tmp_0 : THROW_CCE();
|
|
39257
39257
|
return 'http://' + host + ':' + port;
|
|
39258
39258
|
}
|
|
39259
|
-
|
|
39259
|
+
y55($completion) {
|
|
39260
39260
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_start__v5y7pu_0.bind(VOID, this), $completion);
|
|
39261
39261
|
}
|
|
39262
39262
|
u6() {
|
|
39263
|
-
if (this.
|
|
39264
|
-
this.
|
|
39265
|
-
this.
|
|
39263
|
+
if (this.n56_1 && this.m56_1 != null) {
|
|
39264
|
+
this.m56_1.stop();
|
|
39265
|
+
this.n56_1 = false;
|
|
39266
39266
|
}
|
|
39267
39267
|
}
|
|
39268
39268
|
}
|
|
39269
39269
|
class AttoWorkerMockAsync {
|
|
39270
39270
|
constructor(mock, dispatcher) {
|
|
39271
|
-
this.
|
|
39271
|
+
this.o56_1 = mock;
|
|
39272
39272
|
}
|
|
39273
|
-
|
|
39274
|
-
return this.
|
|
39273
|
+
x55() {
|
|
39274
|
+
return this.o56_1.x55();
|
|
39275
39275
|
}
|
|
39276
39276
|
start() {
|
|
39277
|
-
return promisify(($completion) => this.
|
|
39277
|
+
return promisify(($completion) => this.a56($completion));
|
|
39278
39278
|
}
|
|
39279
|
-
|
|
39279
|
+
a56($completion) {
|
|
39280
39280
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_start$suspendBridge__sgn8nj_0.bind(VOID, this), $completion);
|
|
39281
39281
|
}
|
|
39282
|
-
|
|
39283
|
-
return this.
|
|
39282
|
+
y55($completion) {
|
|
39283
|
+
return this.o56_1.y55($completion);
|
|
39284
39284
|
}
|
|
39285
39285
|
close() {
|
|
39286
|
-
return this.
|
|
39286
|
+
return this.o56_1.u6();
|
|
39287
39287
|
}
|
|
39288
39288
|
get baseUrl() {
|
|
39289
|
-
return this.
|
|
39289
|
+
return this.x55();
|
|
39290
39290
|
}
|
|
39291
39291
|
}
|
|
39292
39292
|
class AttoWorkerMockAsyncBuilder {
|
|
39293
39293
|
constructor() {
|
|
39294
|
-
this.o56_1 = null;
|
|
39295
39294
|
this.p56_1 = null;
|
|
39295
|
+
this.q56_1 = null;
|
|
39296
39296
|
}
|
|
39297
39297
|
name(value) {
|
|
39298
39298
|
// Inline function 'kotlin.apply' call
|
|
39299
|
-
this.
|
|
39299
|
+
this.p56_1 = value;
|
|
39300
39300
|
return this;
|
|
39301
39301
|
}
|
|
39302
39302
|
image(value) {
|
|
39303
39303
|
// Inline function 'kotlin.apply' call
|
|
39304
|
-
this.
|
|
39304
|
+
this.q56_1 = value;
|
|
39305
39305
|
return this;
|
|
39306
39306
|
}
|
|
39307
39307
|
build() {
|
|
39308
|
-
return promisify(($completion) => this.
|
|
39308
|
+
return promisify(($completion) => this.k56($completion));
|
|
39309
39309
|
}
|
|
39310
|
-
|
|
39310
|
+
k56($completion) {
|
|
39311
39311
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_build$suspendBridge__cfhiw5_0.bind(VOID, this), $completion);
|
|
39312
39312
|
}
|
|
39313
|
-
|
|
39313
|
+
j56($completion) {
|
|
39314
39314
|
var defaultConfiguration = new AttoWorkerMockConfiguration();
|
|
39315
|
-
var tmp0_elvis_lhs = this.
|
|
39316
|
-
var tmp = tmp0_elvis_lhs == null ? defaultConfiguration.
|
|
39317
|
-
var tmp1_elvis_lhs = this.
|
|
39318
|
-
var configuration = defaultConfiguration.
|
|
39315
|
+
var tmp0_elvis_lhs = this.p56_1;
|
|
39316
|
+
var tmp = tmp0_elvis_lhs == null ? defaultConfiguration.h55_1 : tmp0_elvis_lhs;
|
|
39317
|
+
var tmp1_elvis_lhs = this.q56_1;
|
|
39318
|
+
var configuration = defaultConfiguration.j55(tmp, tmp1_elvis_lhs == null ? defaultConfiguration.i55_1 : tmp1_elvis_lhs);
|
|
39319
39319
|
return toAsync_2(new AttoWorkerMock(configuration), Dispatchers_getInstance().r20_1);
|
|
39320
39320
|
}
|
|
39321
39321
|
}
|
|
@@ -72145,7 +72145,7 @@ function *_generator_sign__qhulg5_0($this, vote, $completion) {
|
|
|
72145
72145
|
tmp_0 = yield tmp_0;
|
|
72146
72146
|
return tmp_0;
|
|
72147
72147
|
}
|
|
72148
|
-
function
|
|
72148
|
+
function privateKeyToSigner(_this__u8e3s4) {
|
|
72149
72149
|
return new InMemorySigner(_this__u8e3s4);
|
|
72150
72150
|
}
|
|
72151
72151
|
function AttoTransaction$Companion$$childSerializers$_anonymous__8sfh5y() {
|
|
@@ -72652,6 +72652,28 @@ function get_json() {
|
|
|
72652
72652
|
return json_1;
|
|
72653
72653
|
}
|
|
72654
72654
|
var json_1;
|
|
72655
|
+
function accountToJson(_this__u8e3s4) {
|
|
72656
|
+
_init_properties_NodeExtensions_kt__hev4ru();
|
|
72657
|
+
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
72658
|
+
var this_0 = get_json();
|
|
72659
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
72660
|
+
var this_1 = this_0.cy();
|
|
72661
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
72662
|
+
var this_2 = serializer_1(this_1, createKType(getKClass(AttoAccount), arrayOf([]), false));
|
|
72663
|
+
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
72664
|
+
return this_0.gu(tmp$ret$1, _this__u8e3s4);
|
|
72665
|
+
}
|
|
72666
|
+
function accountFromJson(_this__u8e3s4) {
|
|
72667
|
+
_init_properties_NodeExtensions_kt__hev4ru();
|
|
72668
|
+
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
72669
|
+
var this_0 = get_json();
|
|
72670
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
72671
|
+
var this_1 = this_0.cy();
|
|
72672
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
72673
|
+
var this_2 = serializer_1(this_1, createKType(getKClass(AttoAccount), arrayOf([]), false));
|
|
72674
|
+
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
72675
|
+
return this_0.hu(tmp$ret$1, _this__u8e3s4);
|
|
72676
|
+
}
|
|
72655
72677
|
function receivableToJson(_this__u8e3s4) {
|
|
72656
72678
|
_init_properties_NodeExtensions_kt__hev4ru();
|
|
72657
72679
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
@@ -73545,12 +73567,12 @@ function AttoAccountMonitorAsync$onReceivable$slambda$slambda_0($onReceivable) {
|
|
|
73545
73567
|
return l;
|
|
73546
73568
|
}
|
|
73547
73569
|
function *_generator_monitor$suspendBridge__t4kmih($this, addresses, $completion) {
|
|
73548
|
-
if ($this.
|
|
73549
|
-
var tmp = $this.
|
|
73570
|
+
if ($this.monitorAddressArray === protoOf(AttoAccountMonitorAsync).monitorAddressArray) {
|
|
73571
|
+
var tmp = $this.w50(addresses, $completion);
|
|
73550
73572
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
73551
73573
|
tmp = yield tmp;
|
|
73552
73574
|
} else {
|
|
73553
|
-
var tmp_0 = await_0($this.
|
|
73575
|
+
var tmp_0 = await_0($this.monitorAddressArray(addresses), $completion);
|
|
73554
73576
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
73555
73577
|
tmp_0 = yield tmp_0;
|
|
73556
73578
|
}
|
|
@@ -73583,6 +73605,14 @@ function *_generator_getAccounts$suspendBridge__p1jm47($this, $completion) {
|
|
|
73583
73605
|
}
|
|
73584
73606
|
return tmp;
|
|
73585
73607
|
}
|
|
73608
|
+
function *_generator_getAccounts__z4cluw_0($this, $completion) {
|
|
73609
|
+
var tmp = $this.accountMonitor.g4x($completion);
|
|
73610
|
+
if (tmp === get_COROUTINE_SUSPENDED())
|
|
73611
|
+
tmp = yield tmp;
|
|
73612
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
73613
|
+
var this_0 = tmp;
|
|
73614
|
+
return copyToArray(this_0);
|
|
73615
|
+
}
|
|
73586
73616
|
function AttoAccountMonitorAsync$onReceivable$slambda_1($onCancel) {
|
|
73587
73617
|
var i = new AttoAccountMonitorAsync$onReceivable$slambda($onCancel);
|
|
73588
73618
|
var l = (it, $completion) => i.p50(it, $completion);
|
|
@@ -73596,7 +73626,7 @@ function AttoAccountMonitorAsync$onReceivable$slambda_2($stream, $onCancel, $onR
|
|
|
73596
73626
|
return l;
|
|
73597
73627
|
}
|
|
73598
73628
|
function *_generator_invoke__zhh2q8_63($this, it, $completion) {
|
|
73599
|
-
var tmp = $this.
|
|
73629
|
+
var tmp = $this.f51_1(it.i4x_1, $completion);
|
|
73600
73630
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
73601
73631
|
tmp = yield tmp;
|
|
73602
73632
|
var tmp_0 = it.s4x($completion);
|
|
@@ -73606,24 +73636,24 @@ function *_generator_invoke__zhh2q8_63($this, it, $completion) {
|
|
|
73606
73636
|
}
|
|
73607
73637
|
function *_generator_invoke__zhh2q8_64($this, $this$launch, $completion) {
|
|
73608
73638
|
try {
|
|
73609
|
-
var tmp = AttoTransactionMonitorAsync$onTransaction$slambda$slambda_0($this.
|
|
73610
|
-
var tmp_0 = $this.
|
|
73639
|
+
var tmp = AttoTransactionMonitorAsync$onTransaction$slambda$slambda_0($this.i51_1);
|
|
73640
|
+
var tmp_0 = $this.g51_1.g26(new sam$kotlinx_coroutines_flow_FlowCollector$0_14(tmp), $completion);
|
|
73611
73641
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
73612
73642
|
tmp_0 = yield tmp_0;
|
|
73613
|
-
var tmp_1 = $this.
|
|
73643
|
+
var tmp_1 = $this.h51_1(null, $completion);
|
|
73614
73644
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
73615
73645
|
tmp_1 = yield tmp_1;
|
|
73616
73646
|
} catch ($p) {
|
|
73617
73647
|
if ($p instanceof CancellationException) {
|
|
73618
73648
|
var e = $p;
|
|
73619
|
-
var tmp_2 = $this.
|
|
73649
|
+
var tmp_2 = $this.h51_1(null, $completion);
|
|
73620
73650
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
73621
73651
|
tmp_2 = yield tmp_2;
|
|
73622
73652
|
throw e;
|
|
73623
73653
|
} else {
|
|
73624
73654
|
if ($p instanceof Exception) {
|
|
73625
73655
|
var e_0 = $p;
|
|
73626
|
-
var tmp_3 = $this.
|
|
73656
|
+
var tmp_3 = $this.h51_1(e_0, $completion);
|
|
73627
73657
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
73628
73658
|
tmp_3 = yield tmp_3;
|
|
73629
73659
|
} else {
|
|
@@ -73713,7 +73743,7 @@ function *_generator_invoke__zhh2q8_65($this, response, $completion) {
|
|
|
73713
73743
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoAccount), arrayOf([]), false));
|
|
73714
73744
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
73715
73745
|
var item = this_1.hu(tmp$ret$4, value);
|
|
73716
|
-
var tmp_6 = $this.
|
|
73746
|
+
var tmp_6 = $this.n51_1.b24(item, $completion);
|
|
73717
73747
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
73718
73748
|
tmp_6 = yield tmp_6;
|
|
73719
73749
|
}
|
|
@@ -73721,18 +73751,18 @@ function *_generator_invoke__zhh2q8_65($this, response, $completion) {
|
|
|
73721
73751
|
return Unit_instance;
|
|
73722
73752
|
}
|
|
73723
73753
|
function *_generator_invoke__zhh2q8_66($this, $this$channelFlow, $completion) {
|
|
73724
|
-
var tmp = $this.p51_1
|
|
73754
|
+
var tmp = $this.q51_1.p51_1($completion);
|
|
73725
73755
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
73726
73756
|
tmp = yield tmp;
|
|
73727
73757
|
var headers = tmp;
|
|
73728
73758
|
var tmp0 = get_httpClient();
|
|
73729
73759
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
73730
|
-
var urlString = $this.
|
|
73760
|
+
var urlString = $this.q51_1.o51_1 + '/' + $this.r51_1;
|
|
73731
73761
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
73732
73762
|
// Inline function 'kotlin.apply' call
|
|
73733
73763
|
var this_0 = new HttpRequestBuilder();
|
|
73734
73764
|
url(this_0, urlString);
|
|
73735
|
-
configure($this.
|
|
73765
|
+
configure($this.q51_1, this_0, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
73736
73766
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
73737
73767
|
this_0.n3g_1 = Companion_getInstance_49().t33_1;
|
|
73738
73768
|
// Inline function 'io.ktor.client.request.prepareRequest' call
|
|
@@ -73789,7 +73819,7 @@ function *_generator_invoke__zhh2q8_67($this, response, $completion) {
|
|
|
73789
73819
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoAccount), arrayOf([]), false));
|
|
73790
73820
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
73791
73821
|
var item = this_1.hu(tmp$ret$4, value);
|
|
73792
|
-
var tmp_6 = $this.
|
|
73822
|
+
var tmp_6 = $this.s51_1.b24(item, $completion);
|
|
73793
73823
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
73794
73824
|
tmp_6 = yield tmp_6;
|
|
73795
73825
|
}
|
|
@@ -73797,21 +73827,21 @@ function *_generator_invoke__zhh2q8_67($this, response, $completion) {
|
|
|
73797
73827
|
return Unit_instance;
|
|
73798
73828
|
}
|
|
73799
73829
|
function *_generator_invoke__zhh2q8_68($this, $this$channelFlow, $completion) {
|
|
73800
|
-
var tmp = $this.
|
|
73830
|
+
var tmp = $this.t51_1.p51_1($completion);
|
|
73801
73831
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
73802
73832
|
tmp = yield tmp;
|
|
73803
73833
|
var headers = tmp;
|
|
73804
73834
|
var tmp0 = get_httpClient();
|
|
73805
73835
|
// Inline function 'io.ktor.client.request.preparePost' call
|
|
73806
|
-
var urlString = $this.
|
|
73836
|
+
var urlString = $this.t51_1.o51_1 + '/' + $this.u51_1;
|
|
73807
73837
|
// Inline function 'io.ktor.client.request.preparePost' call
|
|
73808
73838
|
var builder = new HttpRequestBuilder();
|
|
73809
73839
|
builder.n3g_1 = Companion_getInstance_49().u33_1;
|
|
73810
73840
|
// Inline function 'kotlin.apply' call
|
|
73811
73841
|
url(builder, urlString);
|
|
73812
|
-
configure($this.
|
|
73842
|
+
configure($this.t51_1, builder, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
73813
73843
|
// Inline function 'io.ktor.client.request.setBody' call
|
|
73814
|
-
var body = $this.
|
|
73844
|
+
var body = $this.v51_1;
|
|
73815
73845
|
if (body == null) {
|
|
73816
73846
|
builder.p3g_1 = NullBody_instance;
|
|
73817
73847
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
@@ -73914,7 +73944,7 @@ function *_generator_invoke__zhh2q8_69($this, response, $completion) {
|
|
|
73914
73944
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoReceivable), arrayOf([]), false));
|
|
73915
73945
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
73916
73946
|
var item = this_1.hu(tmp$ret$4, value);
|
|
73917
|
-
var tmp_6 = $this.
|
|
73947
|
+
var tmp_6 = $this.w51_1.b24(item, $completion);
|
|
73918
73948
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
73919
73949
|
tmp_6 = yield tmp_6;
|
|
73920
73950
|
}
|
|
@@ -73922,18 +73952,18 @@ function *_generator_invoke__zhh2q8_69($this, response, $completion) {
|
|
|
73922
73952
|
return Unit_instance;
|
|
73923
73953
|
}
|
|
73924
73954
|
function *_generator_invoke__zhh2q8_70($this, $this$channelFlow, $completion) {
|
|
73925
|
-
var tmp = $this.
|
|
73955
|
+
var tmp = $this.x51_1.p51_1($completion);
|
|
73926
73956
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
73927
73957
|
tmp = yield tmp;
|
|
73928
73958
|
var headers = tmp;
|
|
73929
73959
|
var tmp0 = get_httpClient();
|
|
73930
73960
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
73931
|
-
var urlString = $this.
|
|
73961
|
+
var urlString = $this.x51_1.o51_1 + '/' + $this.y51_1;
|
|
73932
73962
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
73933
73963
|
// Inline function 'kotlin.apply' call
|
|
73934
73964
|
var this_0 = new HttpRequestBuilder();
|
|
73935
73965
|
url(this_0, urlString);
|
|
73936
|
-
configure($this.
|
|
73966
|
+
configure($this.x51_1, this_0, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
73937
73967
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
73938
73968
|
this_0.n3g_1 = Companion_getInstance_49().t33_1;
|
|
73939
73969
|
// Inline function 'io.ktor.client.request.prepareRequest' call
|
|
@@ -73990,7 +74020,7 @@ function *_generator_invoke__zhh2q8_71($this, response, $completion) {
|
|
|
73990
74020
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoReceivable), arrayOf([]), false));
|
|
73991
74021
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
73992
74022
|
var item = this_1.hu(tmp$ret$4, value);
|
|
73993
|
-
var tmp_6 = $this.
|
|
74023
|
+
var tmp_6 = $this.z51_1.b24(item, $completion);
|
|
73994
74024
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
73995
74025
|
tmp_6 = yield tmp_6;
|
|
73996
74026
|
}
|
|
@@ -73998,21 +74028,21 @@ function *_generator_invoke__zhh2q8_71($this, response, $completion) {
|
|
|
73998
74028
|
return Unit_instance;
|
|
73999
74029
|
}
|
|
74000
74030
|
function *_generator_invoke__zhh2q8_72($this, $this$channelFlow, $completion) {
|
|
74001
|
-
var tmp = $this.
|
|
74031
|
+
var tmp = $this.a52_1.p51_1($completion);
|
|
74002
74032
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74003
74033
|
tmp = yield tmp;
|
|
74004
74034
|
var headers = tmp;
|
|
74005
74035
|
var tmp0 = get_httpClient();
|
|
74006
74036
|
// Inline function 'io.ktor.client.request.preparePost' call
|
|
74007
|
-
var urlString = $this.
|
|
74037
|
+
var urlString = $this.a52_1.o51_1 + '/' + $this.b52_1;
|
|
74008
74038
|
// Inline function 'io.ktor.client.request.preparePost' call
|
|
74009
74039
|
var builder = new HttpRequestBuilder();
|
|
74010
74040
|
builder.n3g_1 = Companion_getInstance_49().u33_1;
|
|
74011
74041
|
// Inline function 'kotlin.apply' call
|
|
74012
74042
|
url(builder, urlString);
|
|
74013
|
-
configure($this.
|
|
74043
|
+
configure($this.a52_1, builder, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
74014
74044
|
// Inline function 'io.ktor.client.request.setBody' call
|
|
74015
|
-
var body = $this.
|
|
74045
|
+
var body = $this.c52_1;
|
|
74016
74046
|
if (body == null) {
|
|
74017
74047
|
builder.p3g_1 = NullBody_instance;
|
|
74018
74048
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
@@ -74115,7 +74145,7 @@ function *_generator_invoke__zhh2q8_73($this, response, $completion) {
|
|
|
74115
74145
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoAccountEntry), arrayOf([]), false));
|
|
74116
74146
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
74117
74147
|
var item = this_1.hu(tmp$ret$4, value);
|
|
74118
|
-
var tmp_6 = $this.
|
|
74148
|
+
var tmp_6 = $this.d52_1.b24(item, $completion);
|
|
74119
74149
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
74120
74150
|
tmp_6 = yield tmp_6;
|
|
74121
74151
|
}
|
|
@@ -74123,18 +74153,18 @@ function *_generator_invoke__zhh2q8_73($this, response, $completion) {
|
|
|
74123
74153
|
return Unit_instance;
|
|
74124
74154
|
}
|
|
74125
74155
|
function *_generator_invoke__zhh2q8_74($this, $this$channelFlow, $completion) {
|
|
74126
|
-
var tmp = $this.
|
|
74156
|
+
var tmp = $this.e52_1.p51_1($completion);
|
|
74127
74157
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74128
74158
|
tmp = yield tmp;
|
|
74129
74159
|
var headers = tmp;
|
|
74130
74160
|
var tmp0 = get_httpClient();
|
|
74131
74161
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74132
|
-
var urlString = $this.
|
|
74162
|
+
var urlString = $this.e52_1.o51_1 + '/' + $this.f52_1;
|
|
74133
74163
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74134
74164
|
// Inline function 'kotlin.apply' call
|
|
74135
74165
|
var this_0 = new HttpRequestBuilder();
|
|
74136
74166
|
url(this_0, urlString);
|
|
74137
|
-
configure($this.
|
|
74167
|
+
configure($this.e52_1, this_0, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
74138
74168
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74139
74169
|
this_0.n3g_1 = Companion_getInstance_49().t33_1;
|
|
74140
74170
|
// Inline function 'io.ktor.client.request.prepareRequest' call
|
|
@@ -74191,7 +74221,7 @@ function *_generator_invoke__zhh2q8_75($this, response, $completion) {
|
|
|
74191
74221
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoAccountEntry), arrayOf([]), false));
|
|
74192
74222
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
74193
74223
|
var item = this_1.hu(tmp$ret$4, value);
|
|
74194
|
-
var tmp_6 = $this.
|
|
74224
|
+
var tmp_6 = $this.g52_1.b24(item, $completion);
|
|
74195
74225
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
74196
74226
|
tmp_6 = yield tmp_6;
|
|
74197
74227
|
}
|
|
@@ -74199,18 +74229,18 @@ function *_generator_invoke__zhh2q8_75($this, response, $completion) {
|
|
|
74199
74229
|
return Unit_instance;
|
|
74200
74230
|
}
|
|
74201
74231
|
function *_generator_invoke__zhh2q8_76($this, $this$channelFlow, $completion) {
|
|
74202
|
-
var tmp = $this.
|
|
74232
|
+
var tmp = $this.h52_1.p51_1($completion);
|
|
74203
74233
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74204
74234
|
tmp = yield tmp;
|
|
74205
74235
|
var headers = tmp;
|
|
74206
74236
|
var tmp0 = get_httpClient();
|
|
74207
74237
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74208
|
-
var urlString = $this.
|
|
74238
|
+
var urlString = $this.h52_1.o51_1 + '/' + $this.i52_1;
|
|
74209
74239
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74210
74240
|
// Inline function 'kotlin.apply' call
|
|
74211
74241
|
var this_0 = new HttpRequestBuilder();
|
|
74212
74242
|
url(this_0, urlString);
|
|
74213
|
-
configure($this.
|
|
74243
|
+
configure($this.h52_1, this_0, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
74214
74244
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74215
74245
|
this_0.n3g_1 = Companion_getInstance_49().t33_1;
|
|
74216
74246
|
// Inline function 'io.ktor.client.request.prepareRequest' call
|
|
@@ -74267,7 +74297,7 @@ function *_generator_invoke__zhh2q8_77($this, response, $completion) {
|
|
|
74267
74297
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoAccountEntry), arrayOf([]), false));
|
|
74268
74298
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
74269
74299
|
var item = this_1.hu(tmp$ret$4, value);
|
|
74270
|
-
var tmp_6 = $this.
|
|
74300
|
+
var tmp_6 = $this.j52_1.b24(item, $completion);
|
|
74271
74301
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
74272
74302
|
tmp_6 = yield tmp_6;
|
|
74273
74303
|
}
|
|
@@ -74275,21 +74305,21 @@ function *_generator_invoke__zhh2q8_77($this, response, $completion) {
|
|
|
74275
74305
|
return Unit_instance;
|
|
74276
74306
|
}
|
|
74277
74307
|
function *_generator_invoke__zhh2q8_78($this, $this$channelFlow, $completion) {
|
|
74278
|
-
var tmp = $this.
|
|
74308
|
+
var tmp = $this.k52_1.p51_1($completion);
|
|
74279
74309
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74280
74310
|
tmp = yield tmp;
|
|
74281
74311
|
var headers = tmp;
|
|
74282
74312
|
var tmp0 = get_httpClient();
|
|
74283
74313
|
// Inline function 'io.ktor.client.request.preparePost' call
|
|
74284
|
-
var urlString = $this.
|
|
74314
|
+
var urlString = $this.k52_1.o51_1 + '/' + $this.l52_1;
|
|
74285
74315
|
// Inline function 'io.ktor.client.request.preparePost' call
|
|
74286
74316
|
var builder = new HttpRequestBuilder();
|
|
74287
74317
|
builder.n3g_1 = Companion_getInstance_49().u33_1;
|
|
74288
74318
|
// Inline function 'kotlin.apply' call
|
|
74289
74319
|
url(builder, urlString);
|
|
74290
|
-
configure($this.
|
|
74320
|
+
configure($this.k52_1, builder, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
74291
74321
|
// Inline function 'io.ktor.client.request.setBody' call
|
|
74292
|
-
var body = $this.
|
|
74322
|
+
var body = $this.m52_1;
|
|
74293
74323
|
if (body == null) {
|
|
74294
74324
|
builder.p3g_1 = NullBody_instance;
|
|
74295
74325
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
@@ -74392,7 +74422,7 @@ function *_generator_invoke__zhh2q8_79($this, response, $completion) {
|
|
|
74392
74422
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoTransaction), arrayOf([]), false));
|
|
74393
74423
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
74394
74424
|
var item = this_1.hu(tmp$ret$4, value);
|
|
74395
|
-
var tmp_6 = $this.
|
|
74425
|
+
var tmp_6 = $this.n52_1.b24(item, $completion);
|
|
74396
74426
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
74397
74427
|
tmp_6 = yield tmp_6;
|
|
74398
74428
|
}
|
|
@@ -74400,18 +74430,18 @@ function *_generator_invoke__zhh2q8_79($this, response, $completion) {
|
|
|
74400
74430
|
return Unit_instance;
|
|
74401
74431
|
}
|
|
74402
74432
|
function *_generator_invoke__zhh2q8_80($this, $this$channelFlow, $completion) {
|
|
74403
|
-
var tmp = $this.
|
|
74433
|
+
var tmp = $this.o52_1.p51_1($completion);
|
|
74404
74434
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74405
74435
|
tmp = yield tmp;
|
|
74406
74436
|
var headers = tmp;
|
|
74407
74437
|
var tmp0 = get_httpClient();
|
|
74408
74438
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74409
|
-
var urlString = $this.
|
|
74439
|
+
var urlString = $this.o52_1.o51_1 + '/' + $this.p52_1;
|
|
74410
74440
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74411
74441
|
// Inline function 'kotlin.apply' call
|
|
74412
74442
|
var this_0 = new HttpRequestBuilder();
|
|
74413
74443
|
url(this_0, urlString);
|
|
74414
|
-
configure($this.
|
|
74444
|
+
configure($this.o52_1, this_0, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
74415
74445
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74416
74446
|
this_0.n3g_1 = Companion_getInstance_49().t33_1;
|
|
74417
74447
|
// Inline function 'io.ktor.client.request.prepareRequest' call
|
|
@@ -74468,7 +74498,7 @@ function *_generator_invoke__zhh2q8_81($this, response, $completion) {
|
|
|
74468
74498
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoTransaction), arrayOf([]), false));
|
|
74469
74499
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
74470
74500
|
var item = this_1.hu(tmp$ret$4, value);
|
|
74471
|
-
var tmp_6 = $this.
|
|
74501
|
+
var tmp_6 = $this.q52_1.b24(item, $completion);
|
|
74472
74502
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
74473
74503
|
tmp_6 = yield tmp_6;
|
|
74474
74504
|
}
|
|
@@ -74476,18 +74506,18 @@ function *_generator_invoke__zhh2q8_81($this, response, $completion) {
|
|
|
74476
74506
|
return Unit_instance;
|
|
74477
74507
|
}
|
|
74478
74508
|
function *_generator_invoke__zhh2q8_82($this, $this$channelFlow, $completion) {
|
|
74479
|
-
var tmp = $this.
|
|
74509
|
+
var tmp = $this.r52_1.p51_1($completion);
|
|
74480
74510
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74481
74511
|
tmp = yield tmp;
|
|
74482
74512
|
var headers = tmp;
|
|
74483
74513
|
var tmp0 = get_httpClient();
|
|
74484
74514
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74485
|
-
var urlString = $this.
|
|
74515
|
+
var urlString = $this.r52_1.o51_1 + '/' + $this.s52_1;
|
|
74486
74516
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74487
74517
|
// Inline function 'kotlin.apply' call
|
|
74488
74518
|
var this_0 = new HttpRequestBuilder();
|
|
74489
74519
|
url(this_0, urlString);
|
|
74490
|
-
configure($this.
|
|
74520
|
+
configure($this.r52_1, this_0, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
74491
74521
|
// Inline function 'io.ktor.client.request.prepareGet' call
|
|
74492
74522
|
this_0.n3g_1 = Companion_getInstance_49().t33_1;
|
|
74493
74523
|
// Inline function 'io.ktor.client.request.prepareRequest' call
|
|
@@ -74544,7 +74574,7 @@ function *_generator_invoke__zhh2q8_83($this, response, $completion) {
|
|
|
74544
74574
|
var this_3 = serializer_1(this_2, createKType(getKClass(AttoTransaction), arrayOf([]), false));
|
|
74545
74575
|
var tmp$ret$4 = isInterface(this_3, KSerializer) ? this_3 : THROW_CCE();
|
|
74546
74576
|
var item = this_1.hu(tmp$ret$4, value);
|
|
74547
|
-
var tmp_6 = $this.
|
|
74577
|
+
var tmp_6 = $this.t52_1.b24(item, $completion);
|
|
74548
74578
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
74549
74579
|
tmp_6 = yield tmp_6;
|
|
74550
74580
|
}
|
|
@@ -74552,21 +74582,21 @@ function *_generator_invoke__zhh2q8_83($this, response, $completion) {
|
|
|
74552
74582
|
return Unit_instance;
|
|
74553
74583
|
}
|
|
74554
74584
|
function *_generator_invoke__zhh2q8_84($this, $this$channelFlow, $completion) {
|
|
74555
|
-
var tmp = $this.
|
|
74585
|
+
var tmp = $this.u52_1.p51_1($completion);
|
|
74556
74586
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74557
74587
|
tmp = yield tmp;
|
|
74558
74588
|
var headers = tmp;
|
|
74559
74589
|
var tmp0 = get_httpClient();
|
|
74560
74590
|
// Inline function 'io.ktor.client.request.preparePost' call
|
|
74561
|
-
var urlString = $this.
|
|
74591
|
+
var urlString = $this.u52_1.o51_1 + '/' + $this.v52_1;
|
|
74562
74592
|
// Inline function 'io.ktor.client.request.preparePost' call
|
|
74563
74593
|
var builder = new HttpRequestBuilder();
|
|
74564
74594
|
builder.n3g_1 = Companion_getInstance_49().u33_1;
|
|
74565
74595
|
// Inline function 'kotlin.apply' call
|
|
74566
74596
|
url(builder, urlString);
|
|
74567
|
-
configure($this.
|
|
74597
|
+
configure($this.u52_1, builder, headers, 'application/x-ndjson', Companion_getInstance_19().so_1);
|
|
74568
74598
|
// Inline function 'io.ktor.client.request.setBody' call
|
|
74569
|
-
var body = $this.
|
|
74599
|
+
var body = $this.w52_1;
|
|
74570
74600
|
if (body == null) {
|
|
74571
74601
|
builder.p3g_1 = NullBody_instance;
|
|
74572
74602
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
@@ -74654,13 +74684,13 @@ function *_generator_account__bagbq1_0($this, publicKey, $completion) {
|
|
|
74654
74684
|
Companion_getInstance_19();
|
|
74655
74685
|
// Inline function 'cash.atto.commons.node.AttoNodeClientRemote.get' call
|
|
74656
74686
|
var timeout = toDuration(1, DurationUnit_SECONDS_getInstance());
|
|
74657
|
-
var tmp_0 = $this.
|
|
74687
|
+
var tmp_0 = $this.p51_1($completion);
|
|
74658
74688
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
74659
74689
|
tmp_0 = yield tmp_0;
|
|
74660
74690
|
var headers = tmp_0;
|
|
74661
74691
|
var tmp0 = get_httpClient();
|
|
74662
74692
|
// Inline function 'io.ktor.client.request.get' call
|
|
74663
|
-
var urlString = $this.
|
|
74693
|
+
var urlString = $this.o51_1 + '/' + tmp2;
|
|
74664
74694
|
// Inline function 'io.ktor.client.request.get' call
|
|
74665
74695
|
// Inline function 'kotlin.apply' call
|
|
74666
74696
|
var this_0 = new HttpRequestBuilder();
|
|
@@ -74722,13 +74752,13 @@ function *_generator_account__bagbq1_1($this, addresses, $completion) {
|
|
|
74722
74752
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
74723
74753
|
Companion_getInstance_19();
|
|
74724
74754
|
var timeout = toDuration(10, DurationUnit_SECONDS_getInstance());
|
|
74725
|
-
var tmp = $this.
|
|
74755
|
+
var tmp = $this.p51_1($completion);
|
|
74726
74756
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74727
74757
|
tmp = yield tmp;
|
|
74728
74758
|
var headers = tmp;
|
|
74729
74759
|
var tmp0 = get_httpClient();
|
|
74730
74760
|
// Inline function 'io.ktor.client.request.post' call
|
|
74731
|
-
var urlString = $this.
|
|
74761
|
+
var urlString = $this.o51_1 + '/' + tmp2;
|
|
74732
74762
|
// Inline function 'io.ktor.client.request.post' call
|
|
74733
74763
|
var builder = new HttpRequestBuilder();
|
|
74734
74764
|
builder.n3g_1 = Companion_getInstance_49().u33_1;
|
|
@@ -74820,13 +74850,13 @@ function *_generator_now__cbai8y_0($this, currentTime, $completion) {
|
|
|
74820
74850
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
74821
74851
|
Companion_getInstance_19();
|
|
74822
74852
|
var timeout = toDuration(10, DurationUnit_SECONDS_getInstance());
|
|
74823
|
-
var tmp = $this.
|
|
74853
|
+
var tmp = $this.p51_1($completion);
|
|
74824
74854
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74825
74855
|
tmp = yield tmp;
|
|
74826
74856
|
var headers = tmp;
|
|
74827
74857
|
var tmp0 = get_httpClient();
|
|
74828
74858
|
// Inline function 'io.ktor.client.request.get' call
|
|
74829
|
-
var urlString = $this.
|
|
74859
|
+
var urlString = $this.o51_1 + '/' + urlPath;
|
|
74830
74860
|
// Inline function 'io.ktor.client.request.get' call
|
|
74831
74861
|
// Inline function 'kotlin.apply' call
|
|
74832
74862
|
var this_0 = new HttpRequestBuilder();
|
|
@@ -74865,7 +74895,7 @@ function *_generator_now__cbai8y_0($this, currentTime, $completion) {
|
|
|
74865
74895
|
return tmp_6 instanceof TimeDifferenceResponse ? tmp_6 : THROW_CCE();
|
|
74866
74896
|
}
|
|
74867
74897
|
function *_generator_publish__pkz857($this, transaction, $completion) {
|
|
74868
|
-
var uri = $this.
|
|
74898
|
+
var uri = $this.o51_1 + '/transactions/stream';
|
|
74869
74899
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
74870
74900
|
var this_0 = Default_getInstance_0();
|
|
74871
74901
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -74874,7 +74904,7 @@ function *_generator_publish__pkz857($this, transaction, $completion) {
|
|
|
74874
74904
|
var this_2 = serializer_1(this_1, createKType(getKClass(AttoTransaction), arrayOf([]), false));
|
|
74875
74905
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
74876
74906
|
var json = this_0.gu(tmp$ret$1, transaction);
|
|
74877
|
-
var tmp = $this.
|
|
74907
|
+
var tmp = $this.p51_1($completion);
|
|
74878
74908
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
74879
74909
|
tmp = yield tmp;
|
|
74880
74910
|
var headers = tmp;
|
|
@@ -74984,61 +75014,61 @@ function AttoNodeClientRemote$configure$lambda_0($timeout) {
|
|
|
74984
75014
|
}
|
|
74985
75015
|
function AttoNodeClientRemote$accountStream$slambda_1($this, $urlPath) {
|
|
74986
75016
|
var i = new AttoNodeClientRemote$accountStream$slambda($this, $urlPath);
|
|
74987
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75017
|
+
var l = ($this$channelFlow, $completion) => i.x52($this$channelFlow, $completion);
|
|
74988
75018
|
l.$arity = 1;
|
|
74989
75019
|
return l;
|
|
74990
75020
|
}
|
|
74991
75021
|
function AttoNodeClientRemote$accountStream$slambda_2($this, $urlPath, $search) {
|
|
74992
75022
|
var i = new AttoNodeClientRemote$accountStream$slambda_0($this, $urlPath, $search);
|
|
74993
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75023
|
+
var l = ($this$channelFlow, $completion) => i.x52($this$channelFlow, $completion);
|
|
74994
75024
|
l.$arity = 1;
|
|
74995
75025
|
return l;
|
|
74996
75026
|
}
|
|
74997
75027
|
function AttoNodeClientRemote$receivableStream$slambda_1($this, $urlPath) {
|
|
74998
75028
|
var i = new AttoNodeClientRemote$receivableStream$slambda($this, $urlPath);
|
|
74999
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75029
|
+
var l = ($this$channelFlow, $completion) => i.y52($this$channelFlow, $completion);
|
|
75000
75030
|
l.$arity = 1;
|
|
75001
75031
|
return l;
|
|
75002
75032
|
}
|
|
75003
75033
|
function AttoNodeClientRemote$receivableStream$slambda_2($this, $urlPath, $search) {
|
|
75004
75034
|
var i = new AttoNodeClientRemote$receivableStream$slambda_0($this, $urlPath, $search);
|
|
75005
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75035
|
+
var l = ($this$channelFlow, $completion) => i.y52($this$channelFlow, $completion);
|
|
75006
75036
|
l.$arity = 1;
|
|
75007
75037
|
return l;
|
|
75008
75038
|
}
|
|
75009
75039
|
function AttoNodeClientRemote$accountEntry$slambda_0($this, $urlPath) {
|
|
75010
75040
|
var i = new AttoNodeClientRemote$accountEntry$slambda($this, $urlPath);
|
|
75011
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75041
|
+
var l = ($this$channelFlow, $completion) => i.z52($this$channelFlow, $completion);
|
|
75012
75042
|
l.$arity = 1;
|
|
75013
75043
|
return l;
|
|
75014
75044
|
}
|
|
75015
75045
|
function AttoNodeClientRemote$accountEntryStream$slambda_1($this, $urlPath) {
|
|
75016
75046
|
var i = new AttoNodeClientRemote$accountEntryStream$slambda($this, $urlPath);
|
|
75017
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75047
|
+
var l = ($this$channelFlow, $completion) => i.z52($this$channelFlow, $completion);
|
|
75018
75048
|
l.$arity = 1;
|
|
75019
75049
|
return l;
|
|
75020
75050
|
}
|
|
75021
75051
|
function AttoNodeClientRemote$accountEntryStream$slambda_2($this, $urlPath, $search) {
|
|
75022
75052
|
var i = new AttoNodeClientRemote$accountEntryStream$slambda_0($this, $urlPath, $search);
|
|
75023
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75053
|
+
var l = ($this$channelFlow, $completion) => i.z52($this$channelFlow, $completion);
|
|
75024
75054
|
l.$arity = 1;
|
|
75025
75055
|
return l;
|
|
75026
75056
|
}
|
|
75027
75057
|
function AttoNodeClientRemote$transaction$slambda_0($this, $urlPath) {
|
|
75028
75058
|
var i = new AttoNodeClientRemote$transaction$slambda($this, $urlPath);
|
|
75029
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75059
|
+
var l = ($this$channelFlow, $completion) => i.a53($this$channelFlow, $completion);
|
|
75030
75060
|
l.$arity = 1;
|
|
75031
75061
|
return l;
|
|
75032
75062
|
}
|
|
75033
75063
|
function AttoNodeClientRemote$transactionStream$slambda_1($this, $urlPath) {
|
|
75034
75064
|
var i = new AttoNodeClientRemote$transactionStream$slambda($this, $urlPath);
|
|
75035
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75065
|
+
var l = ($this$channelFlow, $completion) => i.a53($this$channelFlow, $completion);
|
|
75036
75066
|
l.$arity = 1;
|
|
75037
75067
|
return l;
|
|
75038
75068
|
}
|
|
75039
75069
|
function AttoNodeClientRemote$transactionStream$slambda_2($this, $urlPath, $search) {
|
|
75040
75070
|
var i = new AttoNodeClientRemote$transactionStream$slambda_0($this, $urlPath, $search);
|
|
75041
|
-
var l = ($this$channelFlow, $completion) => i.
|
|
75071
|
+
var l = ($this$channelFlow, $completion) => i.a53($this$channelFlow, $completion);
|
|
75042
75072
|
l.$arity = 1;
|
|
75043
75073
|
return l;
|
|
75044
75074
|
}
|
|
@@ -75093,7 +75123,7 @@ function cached(_this__u8e3s4, dispatcher) {
|
|
|
75093
75123
|
}
|
|
75094
75124
|
function *_generator_invoke__zhh2q8_85($this, $this$async, $completion) {
|
|
75095
75125
|
try {
|
|
75096
|
-
var tmp = $this.
|
|
75126
|
+
var tmp = $this.h53_1($this.i53_1, $completion);
|
|
75097
75127
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
75098
75128
|
tmp = yield tmp;
|
|
75099
75129
|
return tmp;
|
|
@@ -75101,13 +75131,13 @@ function *_generator_invoke__zhh2q8_85($this, $this$async, $completion) {
|
|
|
75101
75131
|
if ($p instanceof Exception) {
|
|
75102
75132
|
var e = $p;
|
|
75103
75133
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
75104
|
-
var this_0 = $this.
|
|
75134
|
+
var this_0 = $this.j53_1.m53_1;
|
|
75105
75135
|
var tmp_0 = this_0.t2e(null, $completion);
|
|
75106
75136
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75107
75137
|
tmp_0 = yield tmp_0;
|
|
75108
75138
|
var tmp_1;
|
|
75109
75139
|
try {
|
|
75110
|
-
tmp_1 = $this.
|
|
75140
|
+
tmp_1 = $this.j53_1.n53_1.u4($this.i53_1);
|
|
75111
75141
|
}finally {
|
|
75112
75142
|
this_0.e2e(null);
|
|
75113
75143
|
}
|
|
@@ -75119,18 +75149,18 @@ function *_generator_invoke__zhh2q8_85($this, $this$async, $completion) {
|
|
|
75119
75149
|
}
|
|
75120
75150
|
function *_generator_delegateWork__9mcuq($this, target, delegate, $completion) {
|
|
75121
75151
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
75122
|
-
var this_0 = $this.
|
|
75152
|
+
var this_0 = $this.m53_1;
|
|
75123
75153
|
var tmp = this_0.t2e(null, $completion);
|
|
75124
75154
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
75125
75155
|
tmp = yield tmp;
|
|
75126
75156
|
var tmp_0;
|
|
75127
75157
|
try {
|
|
75128
|
-
var deferred = $this.
|
|
75158
|
+
var deferred = $this.n53_1.o4(target);
|
|
75129
75159
|
if (!(deferred == null)) {
|
|
75130
75160
|
return deferred;
|
|
75131
75161
|
}
|
|
75132
|
-
deferred = async($this.
|
|
75133
|
-
var tmp0 = $this.
|
|
75162
|
+
deferred = async($this.l53_1, VOID, VOID, AttoWorkerCache$delegateWork$slambda_0(delegate, target, $this));
|
|
75163
|
+
var tmp0 = $this.n53_1;
|
|
75134
75164
|
// Inline function 'kotlin.collections.set' call
|
|
75135
75165
|
var value = deferred;
|
|
75136
75166
|
tmp0.t4(target, value);
|
|
@@ -75152,20 +75182,20 @@ function *_generator_work__qfjd2h($this, threshold, target, $completion) {
|
|
|
75152
75182
|
tmp_0 = yield tmp_0;
|
|
75153
75183
|
var work = tmp_0;
|
|
75154
75184
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
75155
|
-
var this_0 = $this.
|
|
75185
|
+
var this_0 = $this.m53_1;
|
|
75156
75186
|
var tmp_1 = this_0.t2e(null, $completion);
|
|
75157
75187
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
75158
75188
|
tmp_1 = yield tmp_1;
|
|
75159
75189
|
var tmp_2;
|
|
75160
75190
|
try {
|
|
75161
|
-
tmp_2 = $this.
|
|
75191
|
+
tmp_2 = $this.n53_1.u4(target);
|
|
75162
75192
|
}finally {
|
|
75163
75193
|
this_0.e2e(null);
|
|
75164
75194
|
}
|
|
75165
75195
|
if (isValid_1(Companion_instance_112, threshold, target, work.value)) {
|
|
75166
75196
|
return work;
|
|
75167
75197
|
}
|
|
75168
|
-
var tmp_3 = $this.
|
|
75198
|
+
var tmp_3 = $this.e53(threshold, target, $completion);
|
|
75169
75199
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
75170
75200
|
tmp_3 = yield tmp_3;
|
|
75171
75201
|
return tmp_3;
|
|
@@ -75180,20 +75210,20 @@ function *_generator_work__qfjd2h_0($this, network, timestamp, target, $completi
|
|
|
75180
75210
|
tmp_0 = yield tmp_0;
|
|
75181
75211
|
var work = tmp_0;
|
|
75182
75212
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
75183
|
-
var this_0 = $this.
|
|
75213
|
+
var this_0 = $this.m53_1;
|
|
75184
75214
|
var tmp_1 = this_0.t2e(null, $completion);
|
|
75185
75215
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
75186
75216
|
tmp_1 = yield tmp_1;
|
|
75187
75217
|
var tmp_2;
|
|
75188
75218
|
try {
|
|
75189
|
-
tmp_2 = $this.
|
|
75219
|
+
tmp_2 = $this.n53_1.u4(target);
|
|
75190
75220
|
}finally {
|
|
75191
75221
|
this_0.e2e(null);
|
|
75192
75222
|
}
|
|
75193
75223
|
if (isValid_2(Companion_instance_112, network, timestamp, target, work.value)) {
|
|
75194
75224
|
return work;
|
|
75195
75225
|
}
|
|
75196
|
-
var tmp_3 = $this.
|
|
75226
|
+
var tmp_3 = $this.f53(network, timestamp, target, $completion);
|
|
75197
75227
|
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
75198
75228
|
tmp_3 = yield tmp_3;
|
|
75199
75229
|
return tmp_3;
|
|
@@ -75209,13 +75239,13 @@ function *_generator_work__qfjd2h_1($this, block, $completion) {
|
|
|
75209
75239
|
tmp_1 = yield tmp_1;
|
|
75210
75240
|
var work = tmp_1;
|
|
75211
75241
|
// Inline function 'kotlinx.coroutines.sync.withLock' call
|
|
75212
|
-
var this_0 = $this.
|
|
75242
|
+
var this_0 = $this.m53_1;
|
|
75213
75243
|
var tmp_2 = this_0.t2e(null, $completion);
|
|
75214
75244
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
75215
75245
|
tmp_2 = yield tmp_2;
|
|
75216
75246
|
var tmp_3;
|
|
75217
75247
|
try {
|
|
75218
|
-
tmp_3 = $this.
|
|
75248
|
+
tmp_3 = $this.n53_1.u4(getTarget(block));
|
|
75219
75249
|
}finally {
|
|
75220
75250
|
this_0.e2e(null);
|
|
75221
75251
|
}
|
|
@@ -75226,7 +75256,7 @@ function *_generator_work__qfjd2h_1($this, block, $completion) {
|
|
|
75226
75256
|
if (work.isValid(block)) {
|
|
75227
75257
|
return work;
|
|
75228
75258
|
}
|
|
75229
|
-
var tmp_5 = $this.
|
|
75259
|
+
var tmp_5 = $this.g53(block, $completion);
|
|
75230
75260
|
if (tmp_5 === get_COROUTINE_SUSPENDED())
|
|
75231
75261
|
tmp_5 = yield tmp_5;
|
|
75232
75262
|
return tmp_5;
|
|
@@ -75239,25 +75269,25 @@ function AttoWorkerCache$delegateWork$slambda_0($delegate, $target, this$0) {
|
|
|
75239
75269
|
}
|
|
75240
75270
|
function AttoWorkerCache$work$slambda_3(this$0, $threshold) {
|
|
75241
75271
|
var i = new AttoWorkerCache$work$slambda(this$0, $threshold);
|
|
75242
|
-
var l = (it, $completion) => i.
|
|
75272
|
+
var l = (it, $completion) => i.q53(it, $completion);
|
|
75243
75273
|
l.$arity = 1;
|
|
75244
75274
|
return l;
|
|
75245
75275
|
}
|
|
75246
75276
|
function AttoWorkerCache$work$slambda_4(this$0, $network, $timestamp) {
|
|
75247
75277
|
var i = new AttoWorkerCache$work$slambda_0(this$0, $network, $timestamp);
|
|
75248
|
-
var l = (it, $completion) => i.
|
|
75278
|
+
var l = (it, $completion) => i.q53(it, $completion);
|
|
75249
75279
|
l.$arity = 1;
|
|
75250
75280
|
return l;
|
|
75251
75281
|
}
|
|
75252
75282
|
function AttoWorkerCache$work$slambda_5(this$0, $block) {
|
|
75253
75283
|
var i = new AttoWorkerCache$work$slambda_1(this$0, $block);
|
|
75254
|
-
var l = (it, $completion) => i.
|
|
75284
|
+
var l = (it, $completion) => i.q53(it, $completion);
|
|
75255
75285
|
l.$arity = 1;
|
|
75256
75286
|
return l;
|
|
75257
75287
|
}
|
|
75258
75288
|
function AttoWorkerCache$work$slambda_6(this$0, $block) {
|
|
75259
75289
|
var i = new AttoWorkerCache$work$slambda_2(this$0, $block);
|
|
75260
|
-
var l = (it, $completion) => i.
|
|
75290
|
+
var l = (it, $completion) => i.q53(it, $completion);
|
|
75261
75291
|
l.$arity = 1;
|
|
75262
75292
|
return l;
|
|
75263
75293
|
}
|
|
@@ -75265,13 +75295,13 @@ function cpu(_this__u8e3s4, parallelism) {
|
|
|
75265
75295
|
return new AttoWorkerCpu(parallelism);
|
|
75266
75296
|
}
|
|
75267
75297
|
function tryComplete($this, work) {
|
|
75268
|
-
if (!isValid_0(Companion_instance_112, $this.
|
|
75298
|
+
if (!isValid_0(Companion_instance_112, $this.c54_1, $this.d54_1, work)) {
|
|
75269
75299
|
return false;
|
|
75270
75300
|
}
|
|
75271
75301
|
// Inline function 'kotlin.collections.copyOf' call
|
|
75272
75302
|
// Inline function 'kotlin.js.asDynamic' call
|
|
75273
75303
|
var tmp$ret$1 = work.slice();
|
|
75274
|
-
return $this.
|
|
75304
|
+
return $this.f54_1.l1w(new AttoWork(tmp$ret$1));
|
|
75275
75305
|
}
|
|
75276
75306
|
function incrementByteArray($this, byteArray) {
|
|
75277
75307
|
var carry = 1;
|
|
@@ -75289,7 +75319,7 @@ function incrementByteArray($this, byteArray) {
|
|
|
75289
75319
|
}
|
|
75290
75320
|
function WorkerController$result$lambda(this$0) {
|
|
75291
75321
|
return (it) => {
|
|
75292
|
-
cancel(this$0.
|
|
75322
|
+
cancel(this$0.e54_1);
|
|
75293
75323
|
return Unit_instance;
|
|
75294
75324
|
};
|
|
75295
75325
|
}
|
|
@@ -75326,16 +75356,16 @@ function $serializer_getInstance_14() {
|
|
|
75326
75356
|
}
|
|
75327
75357
|
function *_generator_work__qfjd2h_2($this, network, timestamp, target, $completion) {
|
|
75328
75358
|
var request = new Request(network, timestamp, toHex(target.g4u_1));
|
|
75329
|
-
var tmp = $this.
|
|
75359
|
+
var tmp = $this.v54(request, $completion);
|
|
75330
75360
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
75331
75361
|
tmp = yield tmp;
|
|
75332
75362
|
var response = tmp;
|
|
75333
|
-
return response.
|
|
75363
|
+
return response.t54_1;
|
|
75334
75364
|
}
|
|
75335
75365
|
function *_generator_work$suspendBridge__si7tu2($this, threshold, target, $completion) {
|
|
75336
75366
|
var tmp;
|
|
75337
75367
|
if ($this.workThreshold === protoOf(AttoWorkerAsync).workThreshold) {
|
|
75338
|
-
var tmp_0 = $this.
|
|
75368
|
+
var tmp_0 = $this.e53(threshold, target, $completion);
|
|
75339
75369
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75340
75370
|
tmp_0 = yield tmp_0;
|
|
75341
75371
|
tmp = tmp_0;
|
|
@@ -75350,7 +75380,7 @@ function *_generator_work$suspendBridge__si7tu2($this, threshold, target, $compl
|
|
|
75350
75380
|
function *_generator_work$suspendBridge__si7tu2_0($this, network, timestamp, target, $completion) {
|
|
75351
75381
|
var tmp;
|
|
75352
75382
|
if ($this.workNetwork === protoOf(AttoWorkerAsync).workNetwork) {
|
|
75353
|
-
var tmp_0 = $this.
|
|
75383
|
+
var tmp_0 = $this.f53(network, timestamp, target, $completion);
|
|
75354
75384
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75355
75385
|
tmp_0 = yield tmp_0;
|
|
75356
75386
|
tmp = tmp_0;
|
|
@@ -75365,7 +75395,7 @@ function *_generator_work$suspendBridge__si7tu2_0($this, network, timestamp, tar
|
|
|
75365
75395
|
function *_generator_work$suspendBridge__si7tu2_1($this, block, $completion) {
|
|
75366
75396
|
var tmp;
|
|
75367
75397
|
if ($this.workBlock === protoOf(AttoWorkerAsync).workBlock) {
|
|
75368
|
-
var tmp_0 = $this.
|
|
75398
|
+
var tmp_0 = $this.g53(block, $completion);
|
|
75369
75399
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75370
75400
|
tmp_0 = yield tmp_0;
|
|
75371
75401
|
tmp = tmp_0;
|
|
@@ -75402,11 +75432,11 @@ function remote_0(_this__u8e3s4, url, headerProvider) {
|
|
|
75402
75432
|
return new WorkerRemote(url, headerProvider);
|
|
75403
75433
|
}
|
|
75404
75434
|
function *_generator_work__qfjd2h_3($this, request, $completion) {
|
|
75405
|
-
var tmp = $this.
|
|
75435
|
+
var tmp = $this.b55_1($completion);
|
|
75406
75436
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
75407
75437
|
tmp = yield tmp;
|
|
75408
75438
|
var headers_0 = tmp;
|
|
75409
|
-
var uri = $this.
|
|
75439
|
+
var uri = $this.a55_1 + '/works';
|
|
75410
75440
|
// Inline function 'io.ktor.client.request.post' call
|
|
75411
75441
|
// Inline function 'io.ktor.client.request.post' call
|
|
75412
75442
|
var this_0 = get_httpClient_0();
|
|
@@ -75566,7 +75596,7 @@ function AttoWorkerAsyncBuilder$build$slambda_0(this$0) {
|
|
|
75566
75596
|
}
|
|
75567
75597
|
var SHUTDOWN_HOOK_ENABLED;
|
|
75568
75598
|
function *_generator_createGenesis__u03go8(_this__u8e3s4, privateKey, $completion) {
|
|
75569
|
-
var signer =
|
|
75599
|
+
var signer = privateKeyToSigner(privateKey);
|
|
75570
75600
|
var block = createGenesis(Companion_getInstance_95(), AttoNetwork_LOCAL_getInstance(), signer.address);
|
|
75571
75601
|
var tmp = signer.b4t(block.hash, $completion);
|
|
75572
75602
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
@@ -75577,7 +75607,7 @@ function *_generator_createGenesis__u03go8(_this__u8e3s4, privateKey, $completio
|
|
|
75577
75607
|
// Inline function 'kotlin.use' call
|
|
75578
75608
|
var exception = null;
|
|
75579
75609
|
try {
|
|
75580
|
-
var tmp_0 = tmp0.
|
|
75610
|
+
var tmp_0 = tmp0.g53(block, $completion);
|
|
75581
75611
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75582
75612
|
tmp_0 = yield tmp_0;
|
|
75583
75613
|
tmp$ret$1 = tmp_0;
|
|
@@ -75629,32 +75659,32 @@ function *_generator_start__v5y7pu($this, $completion) {
|
|
|
75629
75659
|
var tmp_2 = await_1(networkPromise, $completion);
|
|
75630
75660
|
if (tmp_2 === get_COROUTINE_SUSPENDED())
|
|
75631
75661
|
tmp_2 = yield tmp_2;
|
|
75632
|
-
tmp_1.
|
|
75633
|
-
var mysqlImage = $this.
|
|
75634
|
-
var mysqlInstance = (new mysqlModule.MySqlContainer(mysqlImage)).withNetwork($this.
|
|
75662
|
+
tmp_1.t55_1 = tmp_2;
|
|
75663
|
+
var mysqlImage = $this.s55_1.mysqlImage;
|
|
75664
|
+
var mysqlInstance = (new mysqlModule.MySqlContainer(mysqlImage)).withNetwork($this.t55_1).withNetworkAliases('mysql').withDatabase($this.s55_1.dbName).withRootPassword($this.s55_1.dbPassword);
|
|
75635
75665
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
75636
75666
|
var mysqlContainerPromise = mysqlInstance.start();
|
|
75637
75667
|
var tmp_3 = $this;
|
|
75638
75668
|
var tmp_4 = await_1(mysqlContainerPromise, $completion);
|
|
75639
75669
|
if (tmp_4 === get_COROUTINE_SUSPENDED())
|
|
75640
75670
|
tmp_4 = yield tmp_4;
|
|
75641
|
-
tmp_3.
|
|
75642
|
-
var genesisHex = toHex_0($this.
|
|
75643
|
-
var privateKeyHex = toHex($this.
|
|
75671
|
+
tmp_3.u55_1 = tmp_4;
|
|
75672
|
+
var genesisHex = toHex_0($this.s55_1.genesisTransaction);
|
|
75673
|
+
var privateKeyHex = toHex($this.s55_1.privateKey.value);
|
|
75644
75674
|
var env = {};
|
|
75645
75675
|
env['SPRING_PROFILES_ACTIVE'] = 'local';
|
|
75646
75676
|
env['ATTO_DB_HOST'] = 'mysql';
|
|
75647
75677
|
env['ATTO_DB_PORT'] = '3306';
|
|
75648
|
-
env['ATTO_DB_NAME'] = $this.
|
|
75649
|
-
env['ATTO_DB_USER'] = $this.
|
|
75650
|
-
env['ATTO_DB_PASSWORD'] = $this.
|
|
75651
|
-
env['ATTO_PUBLIC_URI'] = 'ws://' + $this.
|
|
75678
|
+
env['ATTO_DB_NAME'] = $this.s55_1.dbName;
|
|
75679
|
+
env['ATTO_DB_USER'] = $this.s55_1.dbUser;
|
|
75680
|
+
env['ATTO_DB_PASSWORD'] = $this.s55_1.dbPassword;
|
|
75681
|
+
env['ATTO_PUBLIC_URI'] = 'ws://' + $this.s55_1.name + ':8082';
|
|
75652
75682
|
env['ATTO_GENESIS'] = genesisHex;
|
|
75653
75683
|
env['ATTO_PRIVATE_KEY'] = privateKeyHex;
|
|
75654
75684
|
env['ATTO_NODE_FORCE_API'] = 'true';
|
|
75655
75685
|
env['ATTO_NODE_FORCE_HISTORICAL'] = 'true';
|
|
75656
|
-
var nodeImage = $this.
|
|
75657
|
-
var nodeInstance = (new testcontainers.GenericContainer(nodeImage)).withNetwork($this.
|
|
75686
|
+
var nodeImage = $this.s55_1.image;
|
|
75687
|
+
var nodeInstance = (new testcontainers.GenericContainer(nodeImage)).withNetwork($this.t55_1).withNetworkAliases($this.s55_1.name).withExposedPorts(8080, 8081, 8082).withEnvironment(env).withWaitStrategy(wait.forLogMessage(/.*started on port 8080 \(http\).*/, 1)).withLogConsumer(function (stream) {
|
|
75658
75688
|
stream.on('data', function (line) {
|
|
75659
75689
|
console.log(line.toString());
|
|
75660
75690
|
});
|
|
@@ -75668,8 +75698,8 @@ function *_generator_start__v5y7pu($this, $completion) {
|
|
|
75668
75698
|
var tmp_6 = await_1(nodeContainerPromise, $completion);
|
|
75669
75699
|
if (tmp_6 === get_COROUTINE_SUSPENDED())
|
|
75670
75700
|
tmp_6 = yield tmp_6;
|
|
75671
|
-
tmp_5.
|
|
75672
|
-
$this.
|
|
75701
|
+
tmp_5.v55_1 = tmp_6;
|
|
75702
|
+
$this.w55_1 = true;
|
|
75673
75703
|
return Unit_instance;
|
|
75674
75704
|
}
|
|
75675
75705
|
var Companion_instance_122;
|
|
@@ -75679,7 +75709,7 @@ function Companion_getInstance_122() {
|
|
|
75679
75709
|
function *_generator_start$suspendBridge__sgn8nj($this, $completion) {
|
|
75680
75710
|
var tmp;
|
|
75681
75711
|
if ($this.start === protoOf(AttoNodeMockAsync).start) {
|
|
75682
|
-
var tmp_0 = $this.
|
|
75712
|
+
var tmp_0 = $this.y55($completion);
|
|
75683
75713
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75684
75714
|
tmp_0 = yield tmp_0;
|
|
75685
75715
|
tmp = tmp_0;
|
|
@@ -75694,7 +75724,7 @@ function *_generator_start$suspendBridge__sgn8nj($this, $completion) {
|
|
|
75694
75724
|
function *_generator_build$suspendBridge__cfhiw5($this, $completion) {
|
|
75695
75725
|
var tmp;
|
|
75696
75726
|
if ($this.build === protoOf(AttoNodeMockAsyncBuilder).build) {
|
|
75697
|
-
var tmp_0 = $this.
|
|
75727
|
+
var tmp_0 = $this.j56($completion);
|
|
75698
75728
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75699
75729
|
tmp_0 = yield tmp_0;
|
|
75700
75730
|
tmp = tmp_0;
|
|
@@ -75707,28 +75737,28 @@ function *_generator_build$suspendBridge__cfhiw5($this, $completion) {
|
|
|
75707
75737
|
return tmp;
|
|
75708
75738
|
}
|
|
75709
75739
|
function *_generator_build__n4veo6($this, $completion) {
|
|
75710
|
-
var tmp0_elvis_lhs = $this.
|
|
75740
|
+
var tmp0_elvis_lhs = $this.i56_1;
|
|
75711
75741
|
var tmp;
|
|
75712
75742
|
if (tmp0_elvis_lhs == null) {
|
|
75713
|
-
var tmp_0 = createGenesis_0(Companion_getInstance_109(), $this.
|
|
75743
|
+
var tmp_0 = createGenesis_0(Companion_getInstance_109(), $this.b56_1, $completion);
|
|
75714
75744
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75715
75745
|
tmp_0 = yield tmp_0;
|
|
75716
75746
|
tmp = tmp_0;
|
|
75717
75747
|
} else {
|
|
75718
75748
|
tmp = tmp0_elvis_lhs;
|
|
75719
75749
|
}
|
|
75720
|
-
var defaultConfiguration = new AttoNodeMockConfiguration(tmp, $this.
|
|
75721
|
-
var tmp1_elvis_lhs = $this.
|
|
75750
|
+
var defaultConfiguration = new AttoNodeMockConfiguration(tmp, $this.b56_1);
|
|
75751
|
+
var tmp1_elvis_lhs = $this.c56_1;
|
|
75722
75752
|
var tmp_1 = tmp1_elvis_lhs == null ? defaultConfiguration.name : tmp1_elvis_lhs;
|
|
75723
|
-
var tmp2_elvis_lhs = $this.
|
|
75753
|
+
var tmp2_elvis_lhs = $this.d56_1;
|
|
75724
75754
|
var tmp_2 = tmp2_elvis_lhs == null ? defaultConfiguration.image : tmp2_elvis_lhs;
|
|
75725
|
-
var tmp3_elvis_lhs = $this.
|
|
75755
|
+
var tmp3_elvis_lhs = $this.e56_1;
|
|
75726
75756
|
var tmp_3 = tmp3_elvis_lhs == null ? defaultConfiguration.mysqlImage : tmp3_elvis_lhs;
|
|
75727
|
-
var tmp4_elvis_lhs = $this.
|
|
75757
|
+
var tmp4_elvis_lhs = $this.f56_1;
|
|
75728
75758
|
var tmp_4 = tmp4_elvis_lhs == null ? defaultConfiguration.dbName : tmp4_elvis_lhs;
|
|
75729
|
-
var tmp5_elvis_lhs = $this.
|
|
75759
|
+
var tmp5_elvis_lhs = $this.g56_1;
|
|
75730
75760
|
var tmp_5 = tmp5_elvis_lhs == null ? defaultConfiguration.dbUser : tmp5_elvis_lhs;
|
|
75731
|
-
var tmp6_elvis_lhs = $this.
|
|
75761
|
+
var tmp6_elvis_lhs = $this.h56_1;
|
|
75732
75762
|
var configuration = defaultConfiguration.copy(VOID, VOID, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp6_elvis_lhs == null ? defaultConfiguration.dbPassword : tmp6_elvis_lhs);
|
|
75733
75763
|
return toAsync_1(new AttoNodeMock(configuration), Dispatchers_getInstance().r20_1);
|
|
75734
75764
|
}
|
|
@@ -75740,7 +75770,7 @@ function *_generator_start__v5y7pu_0($this, $completion) {
|
|
|
75740
75770
|
tmp = yield tmp;
|
|
75741
75771
|
var testcontainers = tmp;
|
|
75742
75772
|
var wait = testcontainers.Wait;
|
|
75743
|
-
var image = $this.
|
|
75773
|
+
var image = $this.l56_1.i55_1;
|
|
75744
75774
|
var containerInstance = (new testcontainers.GenericContainer(image)).withExposedPorts(8080, 8081).withWaitStrategy(wait.forLogMessage(/.*started on port 8080 \(http\).*/, 1)).withLogConsumer(function (stream) {
|
|
75745
75775
|
stream.on('data', function (line) {
|
|
75746
75776
|
console.log(line.toString());
|
|
@@ -75755,8 +75785,8 @@ function *_generator_start__v5y7pu_0($this, $completion) {
|
|
|
75755
75785
|
var tmp_1 = await_1(containerPromise, $completion);
|
|
75756
75786
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
75757
75787
|
tmp_1 = yield tmp_1;
|
|
75758
|
-
tmp_0.
|
|
75759
|
-
$this.
|
|
75788
|
+
tmp_0.m56_1 = tmp_1;
|
|
75789
|
+
$this.n56_1 = true;
|
|
75760
75790
|
return Unit_instance;
|
|
75761
75791
|
}
|
|
75762
75792
|
var Companion_instance_123;
|
|
@@ -75766,7 +75796,7 @@ function Companion_getInstance_123() {
|
|
|
75766
75796
|
function *_generator_start$suspendBridge__sgn8nj_0($this, $completion) {
|
|
75767
75797
|
var tmp;
|
|
75768
75798
|
if ($this.start === protoOf(AttoWorkerMockAsync).start) {
|
|
75769
|
-
var tmp_0 = $this.
|
|
75799
|
+
var tmp_0 = $this.y55($completion);
|
|
75770
75800
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75771
75801
|
tmp_0 = yield tmp_0;
|
|
75772
75802
|
tmp = tmp_0;
|
|
@@ -75781,7 +75811,7 @@ function *_generator_start$suspendBridge__sgn8nj_0($this, $completion) {
|
|
|
75781
75811
|
function *_generator_build$suspendBridge__cfhiw5_0($this, $completion) {
|
|
75782
75812
|
var tmp;
|
|
75783
75813
|
if ($this.build === protoOf(AttoWorkerMockAsyncBuilder).build) {
|
|
75784
|
-
var tmp_0 = $this.
|
|
75814
|
+
var tmp_0 = $this.j56($completion);
|
|
75785
75815
|
if (tmp_0 === get_COROUTINE_SUSPENDED())
|
|
75786
75816
|
tmp_0 = yield tmp_0;
|
|
75787
75817
|
tmp = tmp_0;
|
|
@@ -76348,11 +76378,11 @@ initMetadataForClass(Segment, 'Segment', VOID, VOID, [ConcurrentLinkedListNode,
|
|
|
76348
76378
|
initMetadataForClass(ChannelSegment, 'ChannelSegment');
|
|
76349
76379
|
initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
76350
76380
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
76351
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
76352
76381
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
76382
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
76353
76383
|
protoOf(BufferedChannel).n24 = close$default;
|
|
76354
76384
|
protoOf(BufferedChannel).p24 = cancel$default_0;
|
|
76355
|
-
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [
|
|
76385
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
76356
76386
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
76357
76387
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
76358
76388
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -76363,7 +76393,7 @@ initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
|
76363
76393
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException');
|
|
76364
76394
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException');
|
|
76365
76395
|
protoOf(ChannelCoroutine).n24 = close$default;
|
|
76366
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, VOID, [AbstractCoroutine,
|
|
76396
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, VOID, [AbstractCoroutine, ReceiveChannel, SendChannel], [1, 0]);
|
|
76367
76397
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, VOID, VOID, [1, 0]);
|
|
76368
76398
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
76369
76399
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, VOID, [ChannelCoroutine, ProducerScope], [1, 0]);
|
|
@@ -77321,8 +77351,8 @@ initMetadataForLambda(AttoWorkerCache$work$slambda_0, VOID, VOID, [1]);
|
|
|
77321
77351
|
initMetadataForLambda(AttoWorkerCache$work$slambda_1, VOID, VOID, [1]);
|
|
77322
77352
|
initMetadataForLambda(AttoWorkerCache$work$slambda_2, VOID, VOID, [1]);
|
|
77323
77353
|
initMetadataForClass(AttoWorkerCache, 'AttoWorkerCache', VOID, VOID, [AttoWorker], [2, 3, 1]);
|
|
77324
|
-
protoOf(AttoWorkerCpu).
|
|
77325
|
-
protoOf(AttoWorkerCpu).
|
|
77354
|
+
protoOf(AttoWorkerCpu).f53 = work;
|
|
77355
|
+
protoOf(AttoWorkerCpu).g53 = work_0;
|
|
77326
77356
|
initMetadataForClass(AttoWorkerCpu, 'AttoWorkerCpu', VOID, VOID, [AttoWorker], [2, 3, 1]);
|
|
77327
77357
|
initMetadataForLambda(WorkerController$calculate$slambda, VOID, VOID, [1]);
|
|
77328
77358
|
initMetadataForClass(WorkerController, 'WorkerController', VOID, VOID, VOID, [0]);
|
|
@@ -77337,8 +77367,8 @@ initMetadataForClass(Response, 'Response', VOID, VOID, VOID, VOID, VOID, {0: $se
|
|
|
77337
77367
|
initMetadataForInterface(AttoWorkerOperations, 'AttoWorkerOperations', VOID, VOID, [AttoWorker], [1, 3, 2]);
|
|
77338
77368
|
initMetadataForClass(AttoWorkerAsync, 'AttoWorkerAsync', VOID, VOID, VOID, [2, 3, 1]);
|
|
77339
77369
|
initMetadataForLambda(WorkerRemote$_init_$slambda_6gmo0o, VOID, VOID, [0]);
|
|
77340
|
-
protoOf(WorkerRemote).
|
|
77341
|
-
protoOf(WorkerRemote).
|
|
77370
|
+
protoOf(WorkerRemote).f53 = work_1;
|
|
77371
|
+
protoOf(WorkerRemote).g53 = work_0;
|
|
77342
77372
|
initMetadataForClass(WorkerRemote, 'WorkerRemote', VOID, VOID, [AttoWorkerOperations], [2, 1, 3]);
|
|
77343
77373
|
initMetadataForLambda(remote$slambda_0, VOID, VOID, [0]);
|
|
77344
77374
|
initMetadataForLambda(AttoWorkerAsyncBuilder$build$slambda, VOID, VOID, [0]);
|
|
@@ -77573,6 +77603,7 @@ export {
|
|
|
77573
77603
|
AttoSeed as AttoSeed,
|
|
77574
77604
|
AttoSignature as AttoSignature,
|
|
77575
77605
|
AttoSigner_0 as AttoSigner,
|
|
77606
|
+
privateKeyToSigner as privateKeyToSigner,
|
|
77576
77607
|
AttoTransaction as AttoTransaction,
|
|
77577
77608
|
AttoVersion as AttoVersion,
|
|
77578
77609
|
AttoVote as AttoVote,
|
|
@@ -77590,6 +77621,8 @@ export {
|
|
|
77590
77621
|
AccountSearch as AccountSearch,
|
|
77591
77622
|
AccountHeightSearch as AccountHeightSearch,
|
|
77592
77623
|
HeightSearch as HeightSearch,
|
|
77624
|
+
accountToJson as accountToJson,
|
|
77625
|
+
accountFromJson as accountFromJson,
|
|
77593
77626
|
receivableToJson as receivableToJson,
|
|
77594
77627
|
receivableFromJson as receivableFromJson,
|
|
77595
77628
|
transactionToJson as transactionToJson,
|