OSDN Git Service

Add write data to chain
[bytom/vapor.git] / blockchain / txbuilder / types.go
index 9de666f..3749f7a 100644 (file)
@@ -71,3 +71,9 @@ type IntegerArgument struct {
 type BoolArgument struct {
        Value bool `json:"value"`
 }
+
+// ContractArgument for smart contract
+type IpfsData struct {
+       Type string `json:"type"`
+       Data string `json:"data"`
+}