Skip to content

yield-sync/v1-emp

Repository files navigation

Yield Sync V1 EMP

EMP (Asset Management Protocol) is a protocol that allows automated allocations for managing assets. Whether it be for yield optimization or public goods funding, this protocol allows developers to create the tool they need to direct funds accordingly.

Note

Once this project is done and deployed to networks this repo should become archived. No further changes should be accepted

This protocol complies to the yield-sync/specifications

Get Started

npm install

Automated Testing

npx hardhat test

.env example

# Wallet Private Key
PRIVATE_KEY=

# API keys
INFURA_API_KEY=
ETHERSCAN_API_KEY=
OPTIMISTIC_ETHERSCAN_API_KEY=

# Governance Addresses
YIELD_SYNC_GOVERNANCE_ADDRESS_MAINNET=
YIELD_SYNC_GOVERNANCE_ADDRESS_OP=
YIELD_SYNC_GOVERNANCE_ADDRESS_OP_GOERLI=
YIELD_SYNC_GOVERNANCE_ADDRESS_SEPOLIA=

# Deployed Registry
YIELD_SYNC_V1_VAULT_REGISTRY_MAINNET=
YIELD_SYNC_V1_VAULT_REGISTRY_OP=
YIELD_SYNC_V1_VAULT_REGISTRY_OP_GOERLI=
YIELD_SYNC_V1_VAULT_REGISTRY_SEPOLIA=

# Deployed Factory
YIELD_SYNC_V1_VAULT_FACTORY_ADDRESS_MAINNET=
YIELD_SYNC_V1_VAULT_FACTORY_ADDRESS_OP=
YIELD_SYNC_V1_VAULT_FACTORY_ADDRESS_OP_GOERLI=
YIELD_SYNC_V1_VAULT_FACTORY_ADDRESS_SEPOLIA=

# Deployed Yield Sync V1 B Transfer Request Protocol
YIELD_SYNC_V1_A_TRANSFER_REQUEST_PROTOCOL_MAINNET=
YIELD_SYNC_V1_A_TRANSFER_REQUEST_PROTOCOL_OP=
YIELD_SYNC_V1_A_TRANSFER_REQUEST_PROTOCOL_OP_GOERLI=
YIELD_SYNC_V1_A_TRANSFER_REQUEST_PROTOCOL_SEPOLIA=

# Deployed Yield Sync V1 B Transfer Request Protocol
YIELD_SYNC_V1_B_TRANSFER_REQUEST_PROTOCOL_MAINNET=
YIELD_SYNC_V1_B_TRANSFER_REQUEST_PROTOCOL_OP=
YIELD_SYNC_V1_B_TRANSFER_REQUEST_PROTOCOL_OP_GOERLI=
YIELD_SYNC_V1_B_TRANSFER_REQUEST_PROTOCOL_SEPOLIA=

Size Contracts

npx hardhat size-contracts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published