mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-12 10:37:32 +00:00
Add APGL license and copyright notices (#212)
* Add license & copyright declarations for add-watcher. * Add copyright declarations for cache. * Add copyright declarations for erc20-watcher. * Add copyright declarations for ipld-eth-client. * Add copyright declarations for tracing-client. * Add copyright declarations for uni-watcher. * Add copyright declarations for solidity-mapper. * Add copyright declarations for uni-info-watcher. * Add copyright declarations for util. * Add copyright declarations for lighthouse-watcher. * Change license identifier in .sol files. Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "@vulcanize/solidity-mapper",
|
||||
"version": "0.1.0",
|
||||
"main": "src/index.ts",
|
||||
"license": "UNLICENSED",
|
||||
"license": "AGPL-3.0",
|
||||
"devDependencies": {
|
||||
"@ethersproject/abi": "^5.3.0",
|
||||
"@ethersproject/contracts": "^5.3.0",
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// Copyright 2021 Vulcanize, Inc.
|
||||
//
|
||||
|
||||
export { getStorageValue, getStorageInfo, getValueByType, StorageLayout, GetStorageAt } from './storage';
|
||||
|
||||
export { getEventNameTopics } from './logs';
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// Copyright 2021 Vulcanize, Inc.
|
||||
//
|
||||
|
||||
import { expect } from 'chai';
|
||||
import '@nomiclabs/hardhat-ethers';
|
||||
import { artifacts } from 'hardhat';
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// Copyright 2021 Vulcanize, Inc.
|
||||
//
|
||||
|
||||
import { JsonFragment } from '@ethersproject/abi';
|
||||
import { utils } from 'ethers';
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// Copyright 2021 Vulcanize, Inc.
|
||||
//
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { Contract } from '@ethersproject/contracts';
|
||||
import { expect } from 'chai';
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// Copyright 2021 Vulcanize, Inc.
|
||||
//
|
||||
|
||||
import { utils, BigNumber } from 'ethers';
|
||||
|
||||
interface Storage {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
contract TestAddress {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.6;
|
||||
|
||||
// https://docs.soliditylang.org/en/v0.8.5/layout-of-source-files.html#abi-coder-pragma
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
contract TestBooleans {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
contract TestBytes {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
import "./TestAddress.sol";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.6;
|
||||
|
||||
// https://docs.soliditylang.org/en/v0.8.5/layout-of-source-files.html#abi-coder-pragma
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
contract TestEnums {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
contract TestEvents {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.6;
|
||||
|
||||
// https://docs.soliditylang.org/en/v0.8.5/layout-of-source-files.html#abi-coder-pragma
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
contract TestIntegers {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.6;
|
||||
|
||||
// https://docs.soliditylang.org/en/v0.8.5/layout-of-source-files.html#abi-coder-pragma
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
contract TestNestedMapping {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.6;
|
||||
|
||||
// https://docs.soliditylang.org/en/v0.8.5/layout-of-source-files.html#abi-coder-pragma
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
contract TestStrings {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
contract TestUnsignedIntegers {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity ^0.7.6;
|
||||
|
||||
// https://docs.soliditylang.org/en/v0.8.5/layout-of-source-files.html#abi-coder-pragma
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
//
|
||||
// Copyright 2021 Vulcanize, Inc.
|
||||
//
|
||||
|
||||
/* eslint-disable no-unused-expressions */
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { ContractInterface } from '@ethersproject/contracts';
|
||||
|
||||
Reference in New Issue
Block a user