Skip to content

Latest commit

 

History

History

solver

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

solver

solver is designed as the guardian of Solv Vouchers and Solv Vouchers Market, which handles permissions for user operations on any Vouchers and Market.

Contracts

  • ISolver

    • Defines the core interfaces of solver
  • Solver

    • Implements all ISolver interfaces to provide the guardian abilities for any Vouchers and Market.
      • Verify permissions for users to deposit, withdraw, split, merge or transfer any Vouchers.
      • Verify permissions for users to publish orders, cancel orders or trade in any market.

Deployment

# for local deployment, run:
yarn deploy:localhost

# for deployment with target network(see: hardhat.config.ts), run:
yarn deploy --network `network`