BenefitiaryTxBody added
This commit is contained in:
parent
432a51e65f
commit
08cda1e8a7
1 changed files with 8 additions and 0 deletions
8
types.go
8
types.go
|
|
@ -12,6 +12,12 @@ type CommiterTxBody struct {
|
||||||
CommiterPubKey string `json:"commiter_pubkey"`
|
CommiterPubKey string `json:"commiter_pubkey"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type BeneficiaryTxBody struct {
|
||||||
|
Type string `json:"type"`
|
||||||
|
ID string `json:"id"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
}
|
||||||
|
|
||||||
type PromiseTxBody struct {
|
type PromiseTxBody struct {
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
|
|
@ -41,3 +47,5 @@ type SignedTx struct {
|
||||||
Body any `json:"body"` // TODO someday it should become less abstract
|
Body any `json:"body"` // TODO someday it should become less abstract
|
||||||
Signature string `json:"signature"`
|
Signature string `json:"signature"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue