Giter VIP home page Giter VIP logo

contracts's Introduction

Solidity Smart Contracts of Matters Lab

Contracts

Name Network Address
Logbook Polygon Mumbai 0x203197e074b7a2f4ff6890815e4657a9c47c68b1
Logbook Polygon Mainnet 0xcdf8D568EC808de5fCBb35849B5bAFB5d444D4c0
SpaceToken Polygon Mumbai 0xeb6814043dc2184b0b321f6de995bf11bdbcc5b8
SpaceToken Polygon Mainnet 0x264808855b0a6a5a318d238c6ee9f299179f27fc
TheSpace Polygon Mainnet 0x9b71045ac2a1563dc5ff8e0c537413a6aae16cd1
TheSpaceRegistry Polygon Mainnet 0x8da7a7a48ebbd870358f2fd824e52e5142f44257
Curation Polygon Mainnet 0x5edebbdae7B5C79a69AaCF7873796bb1Ec664DB8
Curation Polygon Mumbai 0xa219C6722008aa22828B31A13ab9Ba93bB91222c
Curation OP Sepolia 0x92a117aea74963cd0cedf9c50f99435451a291f7
Curation OP Mainnet 0x5edebbdae7B5C79a69AaCF7873796bb1Ec664DB8
Billboard (Operator) OP Mainnet 0x88ea16c2a69f50b9bc2e8f7684d425f33f29225f
Billboard (Registry) OP Mainnet 0x031Dc7C68D4A7057D28814dCc8c61e6f83c7DF25
Billboard (Distribution) OP Mainnet 0xad5caac6910f5a737ec53847000c13122b09eada
Billboard (Operator) OP Sepolia 0x6a72820E1CCCba1B1FE02E37881cEa3F9Aa6375C
Billboard (Registry) OP Sepolia 0x29822FDFC36247A5C3b5E92a8E26991DC4D74a2a
Billboard (Distribution) OP Sepolia 0x32C838d74f8b8f49a5B27c74E71797dEd3CCE8A3

In the "Contract" tab of Polygonscan/Etherscan, you can see the contract code and ABI.

ABI

To get the contract ABI,

  1. Run make build;
  2. Find on abi field of out/YOUR_CONTRACT.sol/YOUR_CONTRACT.json;

Development

Install Forge

Environment

cp .env.local.example .env.local

Build

make build

Testing

make test

Static Analyzers

make analyze-billboard

Deployment

Deploy on Local Node:

# Preprare environment
cp .env.local.example .env.local

# Deploy Logbook contract (defaults to local node)
make deploy-logbook

Deploy & Verify on testnet or mainnet:

# Deploy to local node
make deploy-the-space

# Deploy to testnet
cp .env.polygon-mumbai.example .env.polygon-mumbai
make deploy-the-space NETWORK=polygon-mumbai

# Deploy to mainnet
cp .env.op-mainnet.example .env.op-mainnet
make deploy-the-space NETWORK=op-mainnet

Verify Contract Manually

# 1. Concat all file into one
forge flatten src/Logbook/Logbook.sol

# 2. On (Polygonscan)[https://mumbai.polygonscan.com/verifycontract], Select "Solidity (Single File)" and upload

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.