-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from BaojunCZ/rc/v0.17.0
v0.17.0
- Loading branch information
Showing
16 changed files
with
212 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
part of 'package:ckb_sdk/ckb_types.dart'; | ||
|
||
class BannedAddress { | ||
String address; | ||
String command; | ||
String banTime; | ||
String absolute; | ||
String reason; | ||
|
||
BannedAddress(this.address, this.command, this.banTime, this.absolute, this.reason); | ||
|
||
factory BannedAddress.fromJson(Map<String, dynamic> json) => BannedAddress( | ||
json['address'] as String, | ||
json['command'] as String, | ||
json['ban_time'] as String, | ||
json['absolute'] as String, | ||
json['reason'] as String, | ||
); | ||
|
||
Map<String, dynamic> toJson() => <String, dynamic>{ | ||
'address': address, | ||
'command': command, | ||
'ban_time': banTime, | ||
'absolute': absolute, | ||
'reason': reason, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
part of 'package:ckb_sdk/ckb_types.dart'; | ||
|
||
class CellbaseOutputCapacity { | ||
String primary; | ||
String proposalReward; | ||
String secondary; | ||
String total; | ||
String txFee; | ||
|
||
CellbaseOutputCapacity(this.primary, this.proposalReward, this.secondary, this.total, this.txFee); | ||
|
||
factory CellbaseOutputCapacity.fromJson(Map<String, dynamic> json) => CellbaseOutputCapacity( | ||
json['primary'] as String, | ||
json['proposal_reward'] as String, | ||
json['secondary'] as String, | ||
json['total'] as String, | ||
json['tx_fee'] as String, | ||
); | ||
|
||
Map<String, dynamic> toJson() => <String, dynamic>{ | ||
'primary': primary, | ||
'proposal_reward': proposalReward, | ||
'secondary': secondary, | ||
'total': total, | ||
'tx_fee': txFee, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: ckb_sdk | ||
version: 0.16.0 | ||
version: 0.17.0 | ||
author: "BaojunCZ<[email protected]>" | ||
homepage: https://github.com/BaojunCZ/ckb-sdk-dart.git | ||
description: Dart SDK for CKB.Nervos test network has not been released yet,so it is very early stage.Be careful when using this library. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.