diff --git a/pkg/types/stellar/contract_writer.go b/pkg/types/stellar/contract_writer.go new file mode 100644 index 0000000000..1987048afd --- /dev/null +++ b/pkg/types/stellar/contract_writer.go @@ -0,0 +1,16 @@ +package stellar + +type ContractWriterConfig struct { + Contracts map[string]*ContractWriterContract `json:"contracts"` +} + +type ContractWriterContract struct { + // The contract name (optional). When not provided, the key in the map under which this contract + // is stored is used. + Name string `json:"name,omitempty"` + Functions map[string]*ContractWriterFunction `json:"functions"` +} + +type ContractWriterFunction struct { + FromAddress string `json:"fromAddress"` +}