This file contains hidden or 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
| import { Layer, Effect, Context, Schedule, Cause, Console } from "effect"; | |
| import * as S from "@effect/schema/Schema"; | |
| import { HttpClient } from "@effect/platform"; | |
| import { ParseError } from "@effect/schema/ParseResult"; | |
| const Transaction = S.Struct({ | |
| blockNumber: S.String, | |
| timeStamp: S.Union(S.String, S.Undefined), | |
| methodId: S.String, | |
| functionName: S.String, |
This file contains hidden or 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
| // open-next: https://open-next.js.org/ | |
| // example: https://github.com/serverless-stack/open-next/tree/main/example | |
| // prior art: | |
| // https://github.com/serverless-stack/sst/blob/master/packages/sst/src/constructs/NextjsSite.ts | |
| // https://serverless-nextjs.com/docs/cdkconstruct/ | |
| // https://github.com/rayova/cdk-serverless-nextjs | |
| import { CfnOutput, Duration, Fn, RemovalPolicy, Stack, StackProps } from 'aws-cdk-lib'; | |
| import { Construct } from 'constructs'; |
This file contains hidden or 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
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "math/big" | |
| "strconv" | |
| "time" |
This file contains hidden or 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
| // SPDX-License-Identifier: MIT | |
| pragma solidity >=0.8.7; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| import "@openzeppelin/contracts/utils/math/SafeMath.sol"; | |
| import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; | |
| import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; | |
| import "@openzeppelin/contracts/utils/Strings.sol"; | |
| import "@openzeppelin/contracts/utils/Context.sol"; |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <title>Ethereum Basic</title> | |
| <p>Supply: <span id="supply">0</span></p> | |
| <button id="example">Button</button> | |
| <script type="module"> |