-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathSecretCw4Group.ts
117 lines (116 loc) · 2.07 KB
/
SecretCw4Group.ts
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/**
* This file was automatically generated by @cosmwasm/ts-codegen@1.10.0.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
*/
export interface InstantiateMsg {
admin?: string | null
members: Member[]
query_auth: RawContract
}
export interface Member {
addr: string
weight: number
}
export interface RawContract {
address: string
code_hash: string
}
export type ExecuteMsg =
| {
update_admin: {
admin?: string | null
}
}
| {
update_members: {
add: Member[]
remove: string[]
}
}
| {
add_hook: {
hook: HookItem
}
}
| {
remove_hook: {
hook: HookItem
}
}
export type Addr = string
export interface HookItem {
addr: Addr
code_hash: string
}
export type QueryMsg =
| {
admin: {}
}
| {
total_weight: {
at_height?: number | null
}
}
| {
list_members: {
limit?: number | null
start_after?: string | null
}
}
| {
member: {
at_height?: number | null
auth: Auth
}
}
| {
hooks: {}
}
export type Auth =
| {
viewing_key: {
address: string
key: string
}
}
| {
permit: PermitForPermitData
}
export type Uint128 = string
export type Binary = string
export interface PermitForPermitData {
account_number?: Uint128 | null
chain_id?: string | null
memo?: string | null
params: PermitData
sequence?: Uint128 | null
signature: PermitSignature
}
export interface PermitData {
data: Binary
key: string
}
export interface PermitSignature {
pub_key: PubKey
signature: Binary
}
export interface PubKey {
type: string
value: Binary
}
export interface AdminResponse {
admin?: string | null
}
export interface HooksResponse {
hooks: HookItem[]
}
export interface MemberListResponse {
members: Member[]
}
export interface MemberResponse {
weight?: number | null
}
export interface TotalWeightResponse {
weight: number
}