-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyvault.dhall
133 lines (133 loc) · 4.04 KB
/
yvault.dhall
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{ `$ref` = "#/definitions/YPool"
, `$schema` = "http://json-schema.org/draft-06/schema#"
, definitions =
{ BalanceOf =
{ additionalProperties = False
, properties =
{ constant.type = "boolean"
, inputs = { items.`$ref` = "#/definitions/Put", type = "array" }
, name.type = "string"
, outputs = { items.`$ref` = "#/definitions/Put", type = "array" }
, type.type = "string"
}
, required = [ "constant", "inputs", "name", "outputs", "type" ]
, title = "BalanceOf"
, type = "object"
}
, BalanceProfits =
{ additionalProperties = False
, properties =
{ constant.type = "boolean"
, inputs = { items = {=}, type = "array" }
, name.type = "string"
, outputs = { items.`$ref` = "#/definitions/Put", type = "array" }
, type.type = "string"
}
, required = [ "constant", "inputs", "name", "outputs", "type" ]
, title = "BalanceProfits"
, type = "object"
}
, BalanceToken =
{ additionalProperties = False
, properties =
{ constant.type = "boolean"
, inputs = { items = {=}, type = "array" }
, name.type = "string"
, outputs = { items.`$ref` = "#/definitions/Put", type = "array" }
, type.type = "string"
}
, required = [ "constant", "inputs", "name", "outputs", "type" ]
, title = "BalanceToken"
, type = "object"
}
, BalanceVault =
{ additionalProperties = False
, properties =
{ constant.type = "boolean"
, inputs = { items = {=}, type = "array" }
, name.type = "string"
, outputs = { items.`$ref` = "#/definitions/Put", type = "array" }
, type.type = "string"
}
, required = [ "constant", "inputs", "name", "outputs", "type" ]
, title = "BalanceVault"
, type = "object"
}
, Deposit =
{ additionalProperties = False
, properties =
{ constant.type = "boolean"
, inputs = { items.`$ref` = "#/definitions/Put", type = "array" }
, name.type = "string"
, outputs = { items = {=}, type = "array" }
, type.type = "string"
}
, required = [ "constant", "inputs", "name", "outputs", "type" ]
, title = "Deposit"
, type = "object"
}
, Put =
{ additionalProperties = False
, properties = { name.type = "string", type.type = "string" }
, required = [ "name", "type" ]
, title = "Put"
, type = "object"
}
, TotalSupply =
{ additionalProperties = False
, properties =
{ constant.type = "boolean"
, inputs = { items = {=}, type = "array" }
, name.type = "string"
, outputs = { items.`$ref` = "#/definitions/Put", type = "array" }
, type.type = "string"
}
, required = [ "constant", "inputs", "name", "outputs", "type" ]
, title = "TotalSupply"
, type = "object"
}
, Withdraw =
{ additionalProperties = False
, properties =
{ constant.type = "boolean"
, inputs = { items.`$ref` = "#/definitions/Put", type = "array" }
, name.type = "string"
, outputs = { items = {=}, type = "array" }
, type.type = "string"
}
, required = [ "constant", "inputs", "name", "outputs", "type" ]
, title = "Withdraw"
, type = "object"
}
, YPool =
{ additionalProperties = False
, properties.yVault.`$ref` = "#/definitions/YVault"
, required = [ "yVault" ]
, title = "YPool"
, type = "object"
}
, YVault =
{ additionalProperties = False
, properties =
{ _balanceProfits.`$ref` = "#/definitions/BalanceProfits"
, _balanceToken.`$ref` = "#/definitions/BalanceToken"
, _balanceVault.`$ref` = "#/definitions/BalanceVault"
, _deposit.`$ref` = "#/definitions/Deposit"
, _totalSupply.`$ref` = "#/definitions/TotalSupply"
, _withdraw.`$ref` = "#/definitions/Withdraw"
, balanceOf.`$ref` = "#/definitions/BalanceOf"
}
, required =
[ "_balanceProfits"
, "_balanceToken"
, "_balanceVault"
, "_deposit"
, "_totalSupply"
, "_withdraw"
, "balanceOf"
]
, title = "YVault"
, type = "object"
}
}
}