Skip to content

filecoin-station/spark-rsr-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spark-rsr-contract

  • Mainnet: 0x620bfc5AdE7eeEE90034B05DC9Bb5b540336ff90
  • Calibration: 0x006fD9D10FCd2CFc830670e1c665ac23b478C252

Abi

Interface spec

Getters

.providerRetrievalResultStats(uint offset) -> string

Methods

new SparkRsr(address writer)

.addProviderRetrievalResultStats(address string)

May only be called by writer.

Development

This repo requires Rust, Cargo and Foundry:

Clone Repo and Install

git clone https://github.com/filecoin-station/spark-impact-evaluator.git
cd spark-impact-evaluator
git submodule update --init --recursive
forge test

Tests

forge test

Deployment

Calibration:

forge create --rpc-url https://api.calibration.node.glif.io/rpc/v0 --mnemonic secrets/mnemonic src/SparkRsr.sol:SparkRsr --constructor-args "0x..."

Mainnet:

forge create --rpc-url https://api.node.glif.io/rpc/v0 src/SparkRsr.sol:SparkRsr --ledger --constructor-args "0x..."

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published