Skip to content

UnitapApp/funds-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a9bc25b · Jun 6, 2024

History

21 Commits
Jun 9, 2022
Oct 30, 2022
Oct 30, 2022
Jun 9, 2022
May 28, 2022
May 28, 2022
May 28, 2022
May 28, 2022
May 28, 2022
May 28, 2022
May 28, 2022
May 28, 2022
May 28, 2022
May 28, 2022
Jun 1, 2022
Jun 9, 2022
Jun 6, 2024
Oct 30, 2022
Oct 30, 2022
Oct 30, 2022
May 28, 2022

Repository files navigation

Unitap Funds Manager

This contract manages funds with a periodic withrawal limit.

This system has two roles: UNITAP and DEFAULT_ADMIN_ROLE. UNITAP is allowed to withdraw funds from this contract with a preset periodic limit (e.g., 1 ETH per day). However, DEFAULT_ADMIN_ROLE is allowed to withdraw funds without any limits. In addition to that, it can set the period duration and periodic withdrawal limit.

Both ERC10 native chain assets and ERC20 tokens are supported.

Quick Start

yarn install
npx hardhat typechain
npx hardhat test