-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,585 additions
and
1,198 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import * as _RadonRetrievals from "./lib/radon/retrievals" | ||
export const RadonRetrievals: typeof _RadonRetrievals = _RadonRetrievals; | ||
|
||
import * as _RadonReducers from "./lib/radon/reducers" | ||
export const RadonReducers: typeof _RadonReducers = _RadonReducers; | ||
|
||
import * as _RadonFilters from "./lib/radon/filters" | ||
export const RadonFilters: typeof _RadonFilters = _RadonFilters; | ||
|
||
import * as _RadonTypes from "./lib/radon/types" | ||
export const RadonTypes: typeof _RadonTypes = _RadonTypes; | ||
|
||
export function RadonInnerScript<T extends _RadonTypes.RadonType = _RadonTypes.RadonString>(t: { new(): T; }): T { return new t(); } | ||
export function RadonScript(): _RadonTypes.RadonString { return RadonInnerScript(_RadonTypes.RadonString); } | ||
|
||
export { RadonRequest, RadonRequestTemplate as RadonTemplate } from "./lib/radon/artifacts" | ||
|
||
export class RadonSLA { | ||
public readonly numWitnesses: number; | ||
public readonly unitaryFee: number; | ||
constructor (numWitnesses: number, unitaryFee: number) { | ||
this.numWitnesses = numWitnesses | ||
this.unitaryFee = unitaryFee | ||
} | ||
} | ||
|
||
import * as _Utils from "./utils" | ||
export const Utils: typeof _Utils = _Utils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.