curve-fees-trait_v1_0_0
SP1Y5YSTAHZ88XYK1VPDH24GY0HPX5J4JECTMY4A1Source Code
(define-trait curve-fees-trait
(
(receive (bool uint) (response bool uint))
(calc-fees (uint) (response
{amt-in-adjusted : uint,
amt-fee-lps : uint,
amt-fee-protocol: uint}
uint))
(init (principal) (response bool uint))
(get-fees () (response
{
swap-fee : {num: uint, den: uint},
protocol-fee : {num: uint, den: uint},
}
uint)
)
))
;;; eof