@ansdomain/ens-archived-contracts
v0.0.1
Published
Collection of varios smart contracts"
Downloads
4
Readme
Archive Contracts
This repo includes the list of contracts before our contracts are consolidated into @ensdomains/ens-contracts
All the abi and compiled binaries are under abi
dirctory.
All the source contract codes are under contracts
directory.
Those includes some contracts which do no longer exist on ens-contracts
contracts/
├── ens-022
│ ├── Deed.sol
│ ├── DeedImplementation.sol
│ ├── ENS.lll
│ ├── ENS.lll.bin
│ ├── HashRegistrar.sol
├── ethregistrar-202
│ ├── OldBaseRegistrarImplementation.sol
│ ├── RegistrarMigration.sol
│ ├── ShortNameAuctionController.sol
│ ├── ShortNameClaims.sol
How to install
npm install --save '@ensdomains/contracts'
How to use
import { abi as oldResolverContract } from 'ensdomain-contracts/abis/ens-022/PublicResolver.json'
import { abi as resolverContract } from 'ensdomain-contracts/abis/resolver/Resolver.json'
import { abi as testRegistrarContract } from 'ensdomain-contracts/abis/ens/TestRegistrar.json'
import { abi as legacyAuctionRegistrarContract } from 'ensdomain-contracts/abis/ens/HashRegistrar'
import { abi as deedContract } from 'ensdomain-contracts/abis/ens/Deed'
How to add new contract
yarn add --dev PACKAGENAME
- Add the package into
copy.rb
- Run
yearn pub
which runscopy.rb
and publish the repo