Skip to content

An opinionated base vault implementing CosmWasm Vault Standard using Tokenfactory.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

margined-protocol/vaultenator

Vaultenator

GitHub Actions CI Workflow Status Crates.io Version

An opinionated base vault implementing CosmWasm Vault Standard using Tokenfactory.

Features

  • Administration - Handles opening and pausing contracts
  • Configuration - Manages contract configuration
  • Ownership - Manages contract ownership
  • State - Manages contract state
  • CW4626 - CosmWasm Vault Standard compliant interface
  • Tokenfactory - Tokenfactory denoms as vault share tokens

Usage

Use the crate in your CosmWasm project

cargo add vaultenator

Implement traits or include default implementations. See the Example Vault for an exmaple implementation using Vaulteantor.

Development

# Build contract
cargo wasm
# Run tests
cargo test
# Check formatting
cargo fmt --all -- --check
# Run clippy
cargo clippy -- -D warnings

A git pre-commit script is available to run these checks.

cp ./scripts/pre-commmit .git/hooks/

About

An opinionated base vault implementing CosmWasm Vault Standard using Tokenfactory.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •