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
~/oasis/oasis-block-indexer/api/v1/types(main*) » diff server.gen.go /tmp/server.new.gen.go andrewlow@Beleriand | |
12d11 | |
< codegen_runtime "github.com/deepmap/oapi-codegen/pkg/runtime" | |
13a13,14 | |
> codegen_runtime "github.com/oapi-codegen/runtime" | |
> strictnethttp "github.com/oapi-codegen/runtime/strictmiddleware/nethttp" | |
141a143,342 | |
> } | |
> | |
> // Unimplemented server implementation that returns http.StatusNotImplemented for each endpoint. |
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
# Counting Sheep | |
**Target Role(s)**: | |
1. Software Engineer, Platform | |
2. Software Engineer, Frontend | |
3. Software Engineer, Mobile | |
4. Software Engineer, Intern | |
5. Sr. Software Engineer |
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
const firestore = require('@google-cloud/firestore'); | |
const client = new firestore.v1.FirestoreAdminClient(); | |
// Replace BUCKET_NAME | |
const bucket = 'gs://prod_dcd_backups' | |
exports.scheduledFirestoreExport = (event, context) => { | |
const databaseName = client.databasePath( | |
'oasis-infra-external-mpc4f-dcd', | |
'(default)' | |
); |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
import "@openzeppelin/contracts/utils/Counters.sol"; | |
contract CryptoHunks is ERC721Enumerable, Ownable { | |
using Counters for Counters.Counter; |
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
import { NonceManager } from '@ethersproject/experimental'; | |
import { TransactionRequest, TransactionResponse } from '@ethersproject/abstract-provider'; | |
import { ethers, Signer, Wallet } from 'ethers'; | |
import cryptohunksMetadata from '../artifacts/contracts/CryptoHunks.sol/CryptoHunks.json'; | |
type Address = string; | |
const MIN_GAS_PRICE_GWEI = 10n; | |
const MAX_GAS_LIMIT = 10_000_000n; |