Dinero Vault

Open Zeppelin Contracts

balanceOf

function balanceOf(address account) external view returns (uint256);
Summary
It returns the number of underlying tokens the user has deposited.

maxDineroAmount

function maxDineroAmount() external view returns (uint256);
Summary
It returns the maximum amount of Dinero this contract can mint.

mintedDineroAmount

function mintedDineroAmount() external view returns (uint256);
Summary
It current amount of Dinero minted by this contract.

deposit

function deposit(uint256 amount) external;
Summary
It allows a user to deposit an underlying token and receive an equivalent amount in Dinero.

withdraw

function withdraw(uint256 amount) external;
Summary
It allows a user to withdraw his deposited underlying tokens in exchange for Dinero.
Export as PDF
Copy link
On this page
Open Zeppelin Contracts
balanceOf
maxDineroAmount
mintedDineroAmount
deposit
withdraw