Class: AirdropKey
Constructor
new AirdropKey()
- Source:
Methods
(static) fromAddress(addr, value, sponsor) → {AirdropKey}
Parameters:
Name |
Type |
Description |
addr |
String
|
|
value |
AmountValue
|
|
sponsor |
Boolean
|
|
- Source:
Returns:
-
Type
-
AirdropKey
fromAddress(addr, value, sponsor) → {this}
Parameters:
Name |
Type |
Default |
Description |
addr |
String
|
|
|
value |
AmountValue
|
|
|
sponsor |
Boolean
|
false
|
|
- Source:
Returns:
-
Type
-
this
fromJSON(json) → {this}
Parameters:
Name |
Type |
Description |
json |
Object
|
|
- Source:
Returns:
-
Type
-
this
hash() → {Hash}
- Source:
Returns:
-
Type
-
Hash
inject(key) → {this}
Parameters:
- Source:
Returns:
-
Type
-
this
read(br) → {this}
Parameters:
Name |
Type |
Description |
br |
bio.BufferReader
|
|
- Source:
Returns:
-
Type
-
this
validate() → {Boolean}
- Source:
Returns:
-
Type
-
Boolean
verify(msg, sig) → {Boolean}
Parameters:
Name |
Type |
Description |
msg |
Buffer
|
|
sig |
Buffer
|
|
- Source:
Returns:
-
Type
-
Boolean
Parameters:
- Source:
Returns:
-
Type
-
BufioWriter