mirror of
https://github.com/BiPhan4/DefiHackathon-2022.git
synced 2025-04-02 10:41:42 -04:00
5 lines
228 B
JavaScript
5 lines
228 B
JavaScript
module.exports = ({ wallets, refs, config, client }) => ({
|
|
getCount: () => client.query("counter", { get_count: {} }),
|
|
increment: (signer = wallets.validator) =>
|
|
client.execute(signer, "counter", { increment: {} }),
|
|
});
|