loopd: make term and quote calls readable

pull/598/head
Slyghtning 11 months ago
parent 0be05a99cc
commit f604d5d177
No known key found for this signature in database
GPG Key ID: F82D456EA023C9BF

@ -34,30 +34,18 @@ var RequiredPermissions = map[string][]bakery.Op{
"/looprpc.SwapClient/LoopOutTerms": {{
Entity: "terms",
Action: "read",
}, {
Entity: "loop",
Action: "out",
}},
"/looprpc.SwapClient/LoopOutQuote": {{
Entity: "swap",
Action: "read",
}, {
Entity: "loop",
Action: "out",
}},
"/looprpc.SwapClient/GetLoopInTerms": {{
Entity: "terms",
Action: "read",
}, {
Entity: "loop",
Action: "in",
}},
"/looprpc.SwapClient/GetLoopInQuote": {{
Entity: "swap",
Action: "read",
}, {
Entity: "loop",
Action: "in",
}},
"/looprpc.SwapClient/GetLsatTokens": {{
Entity: "auth",

Loading…
Cancel
Save