1.0.6 • Published 2 years ago

@mirkom/paperprofit v1.0.6

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Autogenerated file. Do not edit manually.

@mirkom/paperprofit

Install

$ npm install @mirkom/paperprofit@1.0.6

Contracts

  • Paperprofit

Deployed Addresses

  • Paperprofit
    • PolygonMumbai: 0xa0f901fBD8B1bdB8044351Feff896492e52F0F7E

Usage Example

we can import contract's typescript type definition and abi, and then use them to create a contract instance and interactive with on-chain contracts using the instance:

import { Paperprofit } from "@mirkom/paperprofit/lib/contracts";
import { PaperprofitABI } from "@mirkom/paperprofit/lib/abi";

const contract: Paperprofit = new ethers.Contract("0xAb...yZ", PaperprofitABI, provider) as unknown as Paperprofit;

or, we can create a contract instance use at(address) directly and interactive with on-chain contracts using the instance:

import { Paperprofit } from "@mirkom/paperprofit/lib/contracts";
import { PaperprofitContract } from "@mirkom/paperprofit";

const contract: Paperprofit = PaperprofitContract.at("0xAb...yZ").connect(provider);

if you are using hardhat-deployed-records plugin and config includeDeployed: true, you can create a contract instance use at[network]() with builtin contract address from this package:

import { Paperprofit } from "@mirkom/paperprofit/lib/contracts";
import { PaperprofitContract } from "@mirkom/paperprofit";

const contract: Paperprofit = PaperprofitContract.atPolygonMumbai().connect(provider);
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago