Add a double ended queue (#3153)
* add vector, lifo and fifo structures * fix lint * need more memory for coverage * remove Vector wrappers and gas optimization * refactor Vector testing * revert package.json changes * rename to DoubleEndedQueue * rename and refactor * refactor tests and expand coverage * test for custom errors * add changelog entry * add docs * add sample code and note about storage vs. memory * add available since * lint * use underscore for struct members * add struct documentation * remove SafeCast in length * rename i -> index and improve docs Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
Showing
contracts/mocks/DoubleEndedQueueMock.sol
0 → 100644
contracts/utils/structs/DoubleEndedQueue.sol
0 → 100644
test/utils/structs/DoubleEndedQueue.test.js
0 → 100644
Please
register
or
sign in
to comment