mirror of
https://github.com/BiPhan4/DefiHackathon-2022.git
synced 2025-04-02 10:41:42 -04:00
9 lines
261 B
JavaScript
9 lines
261 B
JavaScript
const { task } = require("@iboss/terrain");
|
|
const lib = require("../lib");
|
|
|
|
task(async (env) => {
|
|
const { getCount, increment } = lib(env);
|
|
console.log("count 1 = ", await getCount());
|
|
await increment();
|
|
console.log("count 2 = ", await getCount());
|
|
});
|