Skip to content

Instantly share code, notes, and snippets.

View marceljay's full-sized avatar
🎯
Focusing

Marcel Jackisch marceljay

🎯
Focusing
View GitHub Profile
@marceljay
marceljay / yarn.lock
Created September 3, 2021 20:39
yarn lock scaffold #375
This file has been truncated, but you can view the full file.
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@ant-design/colors@^6.0.0":
version "6.0.0"
resolved "https://registry.yarnpkg.com/@ant-design/colors/-/colors-6.0.0.tgz#9b9366257cffcc47db42b9d0203bb592c13c0298"
integrity sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==
dependencies:
"@ctrl/tinycolor" "^3.4.0"
@marceljay
marceljay / mockdata
Created July 14, 2021 12:12
MockData for Retirements
sampleProjects = [
{
"projectId": "VR-01418",
"standard": "VCS",
"methodology": "ACM0002",
"region": "India",
"metaDataHash": "",
"tokenURI": "https://registry.verra.org/app/projectDetail/VCS/0001418"
},
{
// SPDX-License-Identifier: MIT
// Solidity files have to start with this pragma.
// It will be used by the Solidity compiler to validate its version.
pragma solidity ^0.8.0;
import "hardhat/console.sol"; // dev & testing
import "./ProjectToken.sol";
contract PTokenFactory {
pragma solidity 0.5.17;
contract Counter {
uint256 private _count;
address private _owner;
address private _factory;
modifier onlyOwner(address caller) {
@marceljay
marceljay / main.go
Created August 7, 2020 11:13
GoLang: Interface As Parameter
package main
import (
"fmt"
)
type Processor interface {
Process()
}
@marceljay
marceljay / customResolver.sol
Last active May 25, 2020 16:02
Working on a custom resolver
pragma solidity >=0.4.24;
interface ENS {
// Logged when the owner of a node assigns a new owner to a subnode.
event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);
// Logged when the owner of a node transfers ownership to a new account.
event Transfer(bytes32 indexed node, address owner);
@marceljay
marceljay / keybase.md
Created September 17, 2019 18:57
keybase verification

Keybase proof

I hereby claim:

  • I am marceljay on github.
  • I am marceljay (https://keybase.io/marceljay) on keybase.
  • I have a public key ASCaNhUUiHu4889r5ySPYa0oV2cBpppnK4O0MYP2Z8v36go

To claim this, I am signing this object:

@marceljay
marceljay / verify.sol
Created March 14, 2019 12:47
Contract Verification Etherscan
pragma solidity ^0.5;
contract Store {
uint public storedData;
function set(uint x) public {
storedData = x;
}
function get() public view returns (uint) {
return storedData;