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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | |
metadata: | |
name: fast | |
parameters: | |
type: pd-ssd | |
provisioner: kubernetes.io/gce-pd | |
reclaimPolicy: Delete | |
volumeBindingMode: Immediate |
This file has been truncated, but you can view the full 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
{ | |
"id": "0ea7248999b7e998204ab67060cae32c", | |
"_format": "hh-sol-build-info-1", | |
"solcVersion": "0.8.7", | |
"solcLongVersion": "0.8.7+commit.e28d00a7", | |
"input": { | |
"language": "Solidity", | |
"sources": { | |
"contracts/lib/SafeERC20.sol": { | |
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.7;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n\n/**\n * @title SafeERC20\n * @notice Works around implementations of ERC20 with transferFrom not returning success status.\n */\nlibrary SafeERC20 {\n /**\n * @notice Call transferFrom ERC20 function and validates the return data of a ERC20 contract call.\n * @dev This is necessary because of non-standard ERC20 tokens that don't have a return value.\n * @return result The return value of the ERC20 call, returning true for non-standard tokens\n */\n function safeTransferFrom(\n IERC20 token,\n address from,\n address to,\n uint256 amount\n ) internal returns (bool result) { |