@@ -75,7 +75,7 @@ export class IcxTransactionBuilder {
75
75
* @param {string } to - The EOA or SCORE address.
76
76
* @return {IcxTransactionBuilder } this.
77
77
*/
78
- to ( to : string ) : IcxTransactionBuilder {
78
+ to ( to : string ) {
79
79
this . private ( this ) . to = to ;
80
80
81
81
return this ;
@@ -86,7 +86,7 @@ export class IcxTransactionBuilder {
86
86
* @param {string } from - The EOA address.
87
87
* @return {IcxTransactionBuilder } this.
88
88
*/
89
- from ( from : string ) : IcxTransactionBuilder {
89
+ from ( from : string ) {
90
90
this . private ( this ) . from = from ;
91
91
92
92
return this ;
@@ -97,7 +97,7 @@ export class IcxTransactionBuilder {
97
97
* @param {string|BigNumber|number } value - The sending amount of ICX in loop unit.
98
98
* @return {IcxTransactionBuilder } this.
99
99
*/
100
- value ( value : Hash ) : IcxTransactionBuilder {
100
+ value ( value : Hash ) {
101
101
this . private ( this ) . value = value ;
102
102
103
103
return this ;
@@ -108,7 +108,7 @@ export class IcxTransactionBuilder {
108
108
* @param {string|BigNumber|number } stepLimit - The step limit.
109
109
* @return {IcxTransactionBuilder } this.
110
110
*/
111
- stepLimit ( stepLimit : Hash ) : IcxTransactionBuilder {
111
+ stepLimit ( stepLimit : Hash ) {
112
112
this . private ( this ) . stepLimit = stepLimit ;
113
113
114
114
return this ;
@@ -119,7 +119,7 @@ export class IcxTransactionBuilder {
119
119
* @param {string|BigNumber|number } nid - The nid (network ID)
120
120
* @return {IcxTransactionBuilder } this.
121
121
*/
122
- nid ( nid : Hash ) : IcxTransactionBuilder {
122
+ nid ( nid : Hash ) {
123
123
this . private ( this ) . nid = nid ;
124
124
125
125
return this ;
@@ -130,7 +130,7 @@ export class IcxTransactionBuilder {
130
130
* @param {string|BigNumber|number } nonce - The nonce.
131
131
* @return {IcxTransactionBuilder } this.
132
132
*/
133
- nonce ( nonce : Hash ) : IcxTransactionBuilder {
133
+ nonce ( nonce : Hash ) {
134
134
this . private ( this ) . nonce = nonce ;
135
135
136
136
return this ;
@@ -141,7 +141,7 @@ export class IcxTransactionBuilder {
141
141
* @param {string|BigNumber|number } version - The network version.
142
142
* @return {IcxTransactionBuilder } this.
143
143
*/
144
- version ( version : Hash ) : IcxTransactionBuilder {
144
+ version ( version : Hash ) {
145
145
this . private ( this ) . version = version ;
146
146
147
147
return this ;
@@ -152,13 +152,13 @@ export class IcxTransactionBuilder {
152
152
* @param {string|BigNumber|number } timestamp - The timestamp.
153
153
* @return {IcxTransactionBuilder } this.
154
154
*/
155
- timestamp ( timestamp : Hash ) : IcxTransactionBuilder {
155
+ timestamp ( timestamp : Hash ) {
156
156
this . private ( this ) . timestamp = timestamp ;
157
157
158
158
return this ;
159
159
}
160
160
161
- build ( ) : IcxTransaction {
161
+ build ( ) {
162
162
return new IcxTransaction (
163
163
this . private ( this ) . to ,
164
164
this . private ( this ) . from ,
0 commit comments