state-mate

Validate EVM smart contract states against YAML-defined configurations.

14|6|Updated Jun 17, 2024
One-click install
npx skills add https://github.com/lidofinance/state-mate --skill state-mate
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: state-mate
Source: https://github.com/lidofinance/state-mate/tree/main/.claude/skills/state-mate
Command: npx skills add https://github.com/lidofinance/state-mate --skill state-mate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the verification of smart contract states on EVM chains, ensuring deployed contracts match their expected configurations and behaviors.

Core Features & Use Cases

  • State Verification: Confirms non-mutable function results against expected values.
  • Configuration: Uses a concise YAML format for defining checks, contract addresses, and parameters.
  • Use Case: After deploying a new version of a smart contract, use this Skill to automatically verify that all critical functions return the correct values and that access control roles are assigned as intended.

Quick Start

Use the state-mate skill to verify the configuration defined in './state-mate-config.yaml'.

Frequently Asked Questions about state-mate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify EVM smart contract states after deployment?▼

EVM smart contract state verification is done by validating deployed contracts against a YAML configuration. This automates checks for deployment outcomes, access control roles, and ABI consistency across any EVM network.

What is YAML-based state verification for smart contracts?▼

YAML-based state verification is a method to validate EVM smart contract states using scriptable YAML configurations. It confirms non-mutable function results against expected values and ensures contracts match their expected configurations and behaviors.

Can I check smart contract access control roles using a YAML file?▼

Yes, you can check smart contract access control roles by defining them in a YAML file. The validation process ensures roles are assigned as intended and verifies ABI consistency across any EVM network.

How do I automate EVM contract deployment outcome checks?▼

You automate EVM contract deployment outcome checks by defining expected values and parameters in a YAML configuration. This enables deterministic task execution to confirm non-mutable function results without manual intervention.

Does state verification support environment variable integration for deterministic execution?▼

Yes, state verification supports deterministic task execution through environment variable integration. This allows scriptable YAML configurations to dynamically validate contract states across different EVM networks.