Skip to content

The main repository for Power Agent V2 smart contracts includes various implementations, such as native RanDAO and VRF. Power Agent V2 smart contracts contain data regarding Keepers, Jobs, and sophisticated logic for execution and slashing for different types of Jobs.

License

Notifications You must be signed in to change notification settings

powerpool-finance/powerpool-agent-v2

Repository files navigation

PowerPool Agent V2

Decentralized network for guaranteed, automatic, gasless transactions execution and off-chain computations for Defi/Web3 apps and individuals.

The main purpose of PowerAgent is to execute (call) smart contracts based on the specific logic of the Task, submitted to the network.

The execution logic can contain on-chain conditions and, in the future, off-chain data and computation results.

How to run tests

  • Clone the repo git clone --recurse-submodules https://github.com/powerpool-finance/powerpool-agent-v2.git
  • Set up foundry https://github.com/foundry-rs/foundry#installation. At the moment the following instructions are valid:
    • curl -L https://foundry.paradigm.xyz | bash
    • Reload your PATH env var, for ex. by restarting a terminal session
    • foundryup
  • Run all the tests:
forge test -vvv
  • Run a particular test (verbose details only if a test fails, 3-v):
forge test -vvv -m testSetAgentParams
  • Print verbose debug info for a test (4-v):
forge test -vvvv -m testSetAgentParams
  • Re-compile all contracts with sizes output:
forge build --sizes --force

About

The main repository for Power Agent V2 smart contracts includes various implementations, such as native RanDAO and VRF. Power Agent V2 smart contracts contain data regarding Keepers, Jobs, and sophisticated logic for execution and slashing for different types of Jobs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published