-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
74cbf30
commit bf0da3f
Showing
9 changed files
with
65 additions
and
17 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
Empty file.
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 { Point } from "https://esm.sh/@influxdata/[email protected]"; | ||
import { ethers } from "https://esm.sh/[email protected]"; | ||
import { | ||
types, | ||
utils, | ||
} from "https://deno.land/x/[email protected]/lib/mod.ts"; | ||
|
||
const handler: types.EventHandler = async ({ | ||
contract, | ||
event, | ||
store, | ||
}) => { | ||
if (!event.args) { | ||
return utils.error(`Event args are missing: ${event}`); | ||
} | ||
|
||
const [minter, mintAmount, mintTokens] = event.args; | ||
|
||
const decimals = (await utils.getFromStore( | ||
store, | ||
`${contract.address}-decimals`, | ||
contract.decimals, | ||
)) as number; | ||
|
||
return []; | ||
}; | ||
|
||
export default handler; |
Empty file.
Empty file.
Empty file.
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