Skip to content

Instantly share code, notes, and snippets.

View andygray's full-sized avatar
👾
Decentralise!

Andy Gray andygray

👾
Decentralise!
  • eBay x KnownOrigin Labs
  • UK
View GitHub Profile
@andygray
andygray / keybase.md
Created September 10, 2020 12:00
keybase.md

Keybase proof

I hereby claim:

  • I am andygray on github.
  • I am awaygray (https://keybase.io/awaygray) on keybase.
  • I have a public key ASCF0k8xqvPJQCOObIo7dxr-9QYZ1N_-MuNfw5iqxsch0go To claim this, I am signing this object:
{
  "body": {
    "key": {
@andygray
andygray / EthSigil.sol
Created June 15, 2020 09:18
EthSigil Review
pragma solidity ^0.6.8;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract EthSigil is ERC721, Ownable {
address payable tributeAddress; //Address that will receive ETH tribute when Sigils are burned
address payable burnAddress = 0x0000000000000000000000000000000000000000;
@andygray
andygray / DayMonthYear.ts
Created December 20, 2019 09:50
Turning timestamps into date, month and year the math way!
class DayMonthYear {
day: BigInt;
month: BigInt;
year: BigInt;
constructor(day: BigInt, month: BigInt, year: BigInt) {
this.day = day;
this.month = month;
this.year = year;
}