File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ class ContractFunction {
238
238
/// accept a list of ints that should be in [0; 256] .
239
239
/// * strings will accept an dart string
240
240
/// * bool will accept a dart bool
241
- /// * uint<x> and int<x> will accept a dart int
241
+ /// * uint<x> and int<x> will accept a dart int
242
242
///
243
243
/// Other types are not supported at the moment.
244
244
Uint8List encodeCall (List <dynamic > params) {
@@ -403,7 +403,7 @@ class FunctionParameter<T> {
403
403
///
404
404
/// Consider this contract:
405
405
/// ```solidity
406
- /// pragma solidity > =0.4.19 < 0.7.0;
406
+ /// pragma solidity > =0.4.19 < 0.7.0;
407
407
/// pragma experimental ABIEncoderV2;
408
408
///
409
409
/// contract Test {
Original file line number Diff line number Diff line change 1
1
part of '../../../web3dart.dart' ;
2
2
3
- /// The bytes<M> solidity type, which stores up to 32 bytes.
3
+ /// The bytes<M> solidity type, which stores up to 32 bytes.
4
4
class FixedBytes extends AbiType <Uint8List > {
5
5
/// Constructor.
6
6
const FixedBytes (this .length) : assert (0 <= length && length <= 32 );
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ abstract class _IntTypeBase extends AbiType<BigInt> {
41
41
}
42
42
}
43
43
44
- /// The solidity uint<M> type that encodes unsigned integers.
44
+ /// The solidity uint<M> type that encodes unsigned integers.
45
45
class UintType extends _IntTypeBase {
46
46
/// Constructor.
47
47
const UintType ({int length = 256 }) : super (length);
@@ -168,7 +168,7 @@ class BoolType extends AbiType<bool> {
168
168
}
169
169
}
170
170
171
- /// The solidity int<M> types that encodes twos-complement integers.
171
+ /// The solidity int<M> types that encodes twos-complement integers.
172
172
class IntType extends _IntTypeBase {
173
173
/// Constructor.
174
174
const IntType ({int length = 256 }) : super (length);
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ part of 'package:web3dart/web3dart.dart';
11
11
/// import "package:web_socket_channel/io.dart";
12
12
///
13
13
/// final client = Web3Client(rpcUrl, Client(), socketConnector: () {
14
- /// return IOWebSocketChannel.connect(wsUrl).cast< String> ();
14
+ /// return IOWebSocketChannel.connect(wsUrl).cast< String> ();
15
15
/// });
16
16
/// ```
17
17
typedef SocketConnector = StreamChannel <String > Function ();
You can’t perform that action at this time.
0 commit comments