mirror of
https://github.com/factorgroup/nightmarket.git
synced 2026-01-14 16:07:57 -05:00
14 lines
343 B
TypeScript
14 lines
343 B
TypeScript
// retrieves on chain stuff
|
|
import * as c from './constants';
|
|
import GameManager from "@df/GameManager";
|
|
import GameUIManager from "@df/GameUIManager";
|
|
|
|
declare const df: GameManager;
|
|
declare const ui: GameUIManager;
|
|
|
|
export async function getContract() {
|
|
return {
|
|
market: await df.loadContract(c.NIGHTMARKET_ADDR, c.NIGHTMARKET_ABI)
|
|
}
|
|
};
|