See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
#!/bin/bash | |
set -e | |
set -x | |
cog run -e PORT=5001 python -m cog.server.http | |
# docker run -p 5001:5000 cog-test python -m cog.server.http |
// SPDX-License-Identifier: Unlicensed | |
pragma solidity ^0.8.9; | |
interface IERC20 { | |
function withdraw(uint256 amount) external payable; | |
function transfer(address to, uint256 value) external returns (bool); | |
function balanceOf(address who) external view returns (uint256); | |
} | |
interface IRootChainManager { |
pragma solidity >=0.4.22 <0.7.0; | |
/** | |
* @title Storage | |
* @dev Store & retrieve value in a variable | |
*/ | |
contract Storage { | |
uint256 number; |
pragma solidity 0.5.9; | |
contract DepositTest { | |
event Deposit( | |
address rootToken, | |
address user, | |
uint256 amountOrTokenId, | |
uint256 depositCount | |
); | |
#!/bin/bash | |
set -e | |
VERSION="1.15.5" | |
[ -z "$GOROOT" ] && GOROOT="$HOME/.go" | |
[ -z "$GOPATH" ] && GOPATH="$HOME/go" | |
OS="$(uname -s)" | |
ARCH="$(uname -m)" |
name: Docker Image CI | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest |
name: Docker Image CI | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest |
package main | |
import ( | |
"encoding/hex" | |
"fmt" | |
"github.com/maticnetwork/heimdall/bor" | |
"github.com/maticnetwork/heimdall/helper" | |
) |
// pragma solidity >=0.4.22 <0.6.0; | |
pragma solidity >=0.5.2 <0.6.0; | |
import { ERC20 } from "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; | |
import { ERC20Detailed } from "openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol"; | |
import { LibTokenTransferOrder } from "./libs/TokenTransferOrder.sol"; | |
import { ECRecover } from "./libs/ECRecover.sol"; | |
contract ChildERC20 is ERC20, ERC20Detailed, LibTokenTransferOrder, ECRecover { |