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
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}", | |
"copyOnSelect": true, | |
"copyFormatting": false, | |
"profiles": { | |
"defaults": {}, | |
"list": [ | |
{ | |
"guid": "{00000000-0000-0000-ba54-000000000002}", |
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
import Big from 'big.js'; | |
interface listunspent { | |
txid: string, | |
vout: number, | |
address: string, | |
amount: number, | |
confirmations: number, | |
spendable: boolean, | |
} |
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
type convertFN = (key: string, value: any) => void; | |
type convertibleTypes = (key: string, value: any) => void | string | number; | |
const convertibleTypeList = { | |
Number: (_key: string, value: any) => value % 1 === 0 ? 'int' : 'double', | |
String: 'String', | |
Boolean: 'bool', | |
Undefined: 'null', |
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
import 'map_extension.dart'; | |
void main() { | |
Map<dynamic, dynamic> a = <dynamic, dynamic>{ | |
0: 'text', | |
'1': [1, 2, 3], | |
'2': {'a': 'b', 'c': 'd'}, | |
'3': {'0': 'a', '1': 'd'}, | |
'4': {'a': '2', '3': 'd'}, | |
'5': [ |