Skip to content

avnu-labs/avnu-contracts-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVNU contract lib

This repository is a collection of Cairo components and functions that are used by AVNU contracts.

The repository includes the following components:

  • Ownable: a component that allows to manage ownership of a contract
  • Upgradable: a component that allows upgrade the contract code
  • Whitelist: a component that allows to manage a whitelist of addresses

It includes the following interfaces:

  • erc20: an interface that allows to interact with ERC20 tokens

And finally, it includes the following functions:

  • muldiv: a function that allows to multiply two numbers and divide the result by a third number

Getting started

This repository is using Scarb to install, test, build contracts

# Format
scarb fmt

# Run the tests
scarb test

# Build contracts
scarb build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages