No description
- Solidity 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Refs PlasticDigits/cl8y-security#76. Exact-head config-only onboarding independently reviewed; no dependency/runtime changes. Subsequent extraction remains pending. New CI intentionally skipped to preserve task infrastructure limits. [skip ci] Explicit user-authorized exception only for unavailable required CI; no global protection/status changes. |
||
| .github/workflows | ||
| lib | ||
| script | ||
| src | ||
| test | ||
| .gitignore | ||
| .gitmodules | ||
| .woodpecker.yml | ||
| foundry.toml | ||
| LICENSE | ||
| README.md | ||
| remappings.txt | ||
| renovate.json | ||
Uses Foundry,
Installation: forge install
Build: forge build
Deploy: If not testing, be sure to (1) comment out the deployment of the test pnsh and test tokens in DeployFutures.s.sol and (2) check the contract addresses for the constants at the top of the script.
The below forge script command will deploy the smart contract ecosystem. Use the proper $RPC_URL and $ETHERSCAN_KEY (bscscan key) for the network you are deploying to, and the $PRIVATE_KEY that will administer the contracts. It will take some time to run as it simulates the transactions locally first.
forge script script/DeployFutures.s.sol:DeployFutures --broadcast --verify -vvv \ --rpc-url $RPC_URL \ --etherscan-api-key $ETHERSCAN_KEY --private-key $PRIVATE_KEY