Skip to content

Instantly share code, notes, and snippets.

@must479
must479 / hooks...build
Created January 4, 2023 11:17
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.11+commit.22be8592.js&optimize=false&runs=200&gist=
#!/bin/bash
# DockerHub automated build override
# $IMAGE_NAME var is injected into the build so the tag is correct.
docker build \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
-t $IMAGE_NAME .
@must479
must479 / verified-sources...0xDd9395cAb14e4C788ca0BFdBabB53f744Dac6ebA...metadata.json
Created January 5, 2023 01:25
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
{
"compiler": {
"version": "0.8.17+commit.8df45f5f"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [
{