OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add write data to chain
[bytom/vapor.git]
/
blockchain
/
txbuilder
/
types.go
diff --git
a/blockchain/txbuilder/types.go
b/blockchain/txbuilder/types.go
index
9de666f
..
3749f7a
100644
(file)
--- a/
blockchain/txbuilder/types.go
+++ b/
blockchain/txbuilder/types.go
@@
-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"`
+}