Full build: Vite/React acid-terminal frontend (BEARER design system, Panchang/Sentient/Fragment Mono, neon layer, palette audit script), HoodquidityVaults Foundry contracts (single+dual deposits via Chainlink-style feeds, hybrid exit, 10% platform fee, boost, Genesis LP), Reown AppKit wallet connect with Robinhood Chain testnet (46630), live data from Dexscreener and onchain reads, partner portal, design-sync setup for claude.ai/design. Deploy: static via Forgejo Actions platform, BUILD_DIR=apps/web/dist (.env). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
630 B
JavaScript
22 lines
630 B
JavaScript
const { ethers } = require('hardhat');
|
|
const { expect } = require('chai');
|
|
const { loadFixture } = require('@nomicfoundation/hardhat-network-helpers');
|
|
|
|
async function fixture() {
|
|
const mock = await ethers.deployContract('$Calldata');
|
|
return { mock };
|
|
}
|
|
|
|
describe('Calldata utilities', function () {
|
|
beforeEach(async function () {
|
|
Object.assign(this, await loadFixture(fixture));
|
|
});
|
|
|
|
it('emptyBytes', async function () {
|
|
await expect(this.mock.$emptyBytes()).to.eventually.equal('0x');
|
|
});
|
|
|
|
it('emptyString', async function () {
|
|
await expect(this.mock.$emptyString()).to.eventually.equal('');
|
|
});
|
|
});
|