add CMintedCoinData toFFI, CMintedCoin factory, and test

This commit is contained in:
sneurlax
2023-11-21 18:48:59 -06:00
parent bc4b51589f
commit 3bce5dda71
2 changed files with 10 additions and 1 deletions

View File

@@ -132,6 +132,15 @@ final class CCRecipient extends ffi.Struct {
external int subtractFee;
}
final class CMintedCoinData extends ffi.Struct {
external ffi.Pointer<ffi.Char> address;
@ffi.Uint64()
external int value;
external ffi.Pointer<ffi.Char> memo;
}
const int _STDINT_H = 1;
const int _FEATURES_H = 1;