import from borel

See also https://github.com/anchor/borel/pull/92
A comment here explaining what a gauge query is would be awesome.