0.0.7 • Published 3 years ago

@jbx-protocol/ve-nft v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

VE NFT

Issue an NFT that represents a locked position of juicebox project tokens (unclaimed or as ERC20s).

Install Foundry

To get set up:

  1. Install Foundry.
curl -L https://foundry.paradigm.xyz | sh
  1. Install external lib(s)
git submodule update --init && yarn install

then run

forge update

If git modules are failing to clone, not installing, etc (ie overall submodule misbehaving), use git submodule update --init --recursive --force

  1. Run tests:
forge test
  1. Update Foundry periodically:
foundryup

Content

This repo is organised as follow:

  • contracts/Allocator: contains an IJBSplitsAllocator implementation template (Allocator.sol)

  • contracts/DatasourceDelegate: contains an IJBFundingCycleDataSource, IJBPayDelegate and IJBRedemptionDelegate implementation templates (DataSourceDelegate.sol).

  • contracts/Terminal: contains an IJBPaymentTerminal and IJBRedemptionTerminal implementation template.

Deploy & verify

Setup

Configure the .env variables, and add a mnemonic.txt file with the mnemonic of the deployer wallet. The sender address in the .env must correspond to the mnemonic account.

Rinkeby

yarn deploy-rinkeby

Mainnet

yarn deploy-mainnet

The deployments are stored in ./broadcast

See the Foundry Book for available options.

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago