tomafc330 / aavegotchi-contracts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aavegotchi Diamonds

Contract Addresses

Kovan:

  • Aavegotchi diamond: 0xD29D0acdf1E33E2f011b34D29E2176B7aA2241Fd
  • GHST diamond: 0xeDaA788Ee96a0749a2De48738f5dF0AA88E99ab5

The ABI files for the diamonds are in the artifacts directory:

  1. IAavegotchiDiamond.json
  2. IGHSTDiamond.json

To easily see what functions these ABI files provide check the corresponding files in the contracts/interfaces directory:

  1. IAavegotchiDiamond.sol
  2. IGHSTDiamond.sol

Using a diamond ABI should look something like this:

let aavegotchiDiamond = new web3.eth.Contract(
  JSON.parse(jsonfromfile).abi,
  aavegotchiDiamondAddress
);

Deployment

npx buidler run scripts/deploy.js

About

License:MIT License


Languages

Language:Solidity 64.3%Language:JavaScript 35.2%Language:HTML 0.5%