Logo
Explore Help
Sign In
logos-storage/logos-storage-contracts-eth
1
0
Fork 0
You've already forked logos-storage-contracts-eth
mirror of https://github.com/logos-storage/logos-storage-contracts-eth.git synced 2026-01-06 23:33:12 +00:00
Code Issues Packages Projects Releases Wiki Activity
logos-storage-contracts-eth/test/marketplace.js

6 lines
161 B
JavaScript
Raw Normal View History

[marketplace] Allow client to withdraw when cancelled Adds ability for client to withdraw funds from a cancelled storage request. Tests to check if request has timed out, if the client address is requesting withdraw, if the request state is new, and the funds were successfully transferred.
2022-08-04 12:14:36 +10:00
async function waitUntilExpired(expiry) {
await ethers.provider.send("hardhat_mine", [ethers.utils.hexValue(expiry)])
}
module.exports = { waitUntilExpired }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 18ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API