Skip to content

Instantly share code, notes, and snippets.

~/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.
# 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
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)'
);
// 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;
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;