forked from smallnest/steem-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient_type.go
More file actions
58 lines (50 loc) · 1.09 KB
/
client_type.go
File metadata and controls
58 lines (50 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package rpc
import (
"github.com/smallnest/steem-api/types"
)
var (
//OptionsTrue variable for type PCOptions
OptionsTrue bool = true
//OptionsFalse variable for type PCOptions
OptionsFalse bool = false
)
//Keys is used as a keystroke for a specific user.
//Only a few keys can be set.
type Keys struct {
PKey []string
AKey []string
OKey []string
MKey []string
}
//BResp of response when sending a transaction.
type BResp struct {
ID string
BlockNum uint32
TrxNum uint32
Expired bool
}
//OperResp type is returned when the operation is performed.
type OperResp struct {
NameOper string
PermLink string
Bresp *BResp
}
//PCOptions for the Comment and Post functions.
//Sets the water to receive payment for a comment or post.
type PCOptions struct {
Percent uint16
AllowVotes *bool
AllowCurationRewards *bool
BeneficiarieList *[]types.Beneficiarie
}
//ArrTransfer for MultiTransfer function
type ArrTransfer struct {
To string
Memo string
Ammount string
}
//ArrVote for MultiVote function
type ArrVote struct {
User string
Weight int
}