Table of Contents
This document provides an overview of the application.
It outlines the use cases, i.e. desirable functionality, in addition to requirements for the smart contract and the user interface.
This section contains general information about the functionality of the application and thus does not touch upon any technical aspects.
If you are interested in a functional overview then this is the section for you.
The admin should be able to remove a transaction from the queue
- If the
id
of the transaction is in the queue
The admin should be able to execute a queued transaction
- If the
id
of the transaction is in the queue - If the transaction is being executed during the valid time range for that transaction
- If the transaction involves a transfer then the contract must have a sufficient balance
The admin should be able to add a transaction into a queue for execution
- If the
id
of the transaction is not currently in the queue - If the transaction timestamp is in the valid time range of (
MINIMUM_DELAY
,MAXIMUM_DELAY
)- A valid timestamp is inclusive of and falls in between the constants
- To calculate the
DELAY
bounds add the block timestamp to each constant
Returns the amount of a specified asset in the contract
Returns the (MINIMUM_DELAY
, MAXIMUM_DELAY
) variables used for timestamp validity
Returns an optional struct containing the valid execution time range for a transaction
Returns the hash (id
) of the transaction arguments