Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artifacts #84

Merged
merged 2 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,875 changes: 0 additions & 4,875 deletions deployments/compiler-inputs/2fac8ef5790d6d8590d31e03af76ba04.json

This file was deleted.

374 changes: 0 additions & 374 deletions deployments/compiler-inputs/3a51971c69b48f0721debceb2d298100.json

This file was deleted.

1,194 changes: 0 additions & 1,194 deletions deployments/compiler-inputs/410542be1c535d97c862c2863abb477e.json

This file was deleted.

371 changes: 0 additions & 371 deletions deployments/compiler-inputs/5598f3c23a185a2ed39d4a994b34b8de.json

This file was deleted.

1,284 changes: 0 additions & 1,284 deletions deployments/compiler-inputs/755eaa4b05c760d07dfe902eb8cdf8f4.json

This file was deleted.

376 changes: 0 additions & 376 deletions deployments/compiler-inputs/777ee916626d1a456c9ef5d66174a88b.json

This file was deleted.

374 changes: 0 additions & 374 deletions deployments/compiler-inputs/80984f3bcdf2985beb21a155793a6006.json

This file was deleted.

373 changes: 0 additions & 373 deletions deployments/compiler-inputs/8abe45a86bca175ef5bd5651ad7253ca.json

This file was deleted.

4,637 changes: 0 additions & 4,637 deletions deployments/compiler-inputs/d6cfecce5786581feb7c8233ee5e40a4.json

This file was deleted.

374 changes: 0 additions & 374 deletions deployments/compiler-inputs/dc49d42df34264ee46e5c6c92dd005d6.json

This file was deleted.

371 changes: 0 additions & 371 deletions deployments/compiler-inputs/e375084179cd92018a55327e422b1ddf.json

This file was deleted.

1,694 changes: 0 additions & 1,694 deletions deployments/compiler-inputs/e4b47a65af0736bb9d247d7a37c76c7b.json

This file was deleted.

374 changes: 0 additions & 374 deletions deployments/compiler-inputs/e712720a47254c07ad9395db94fa83e5.json

This file was deleted.

374 changes: 0 additions & 374 deletions deployments/compiler-inputs/f51251c67d61cb866f4bae0638fb202e.json

This file was deleted.

2,697 changes: 0 additions & 2,697 deletions deployments/revnet-core-testnet/arbitrum_sepolia/REVDeployer.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2,697 changes: 0 additions & 2,697 deletions deployments/revnet-core-testnet/base_sepolia/REVDeployer.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2,697 changes: 0 additions & 2,697 deletions deployments/revnet-core-testnet/optimism_sepolia/REVDeployer.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2,697 changes: 0 additions & 2,697 deletions deployments/revnet-core-testnet/sepolia/REVDeployer.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2,768 changes: 2,768 additions & 0 deletions deployments/revnet-core/arbitrum/REVDeployer.json

Large diffs are not rendered by default.

2,259 changes: 2,259 additions & 0 deletions deployments/revnet-core/arbitrum/REVLoans.json

Large diffs are not rendered by default.

2,768 changes: 2,768 additions & 0 deletions deployments/revnet-core/arbitrum_sepolia/REVDeployer.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,772 changes: 2,772 additions & 0 deletions deployments/revnet-core/base/REVDeployer.json

Large diffs are not rendered by default.

2,263 changes: 2,263 additions & 0 deletions deployments/revnet-core/base/REVLoans.json

Large diffs are not rendered by default.

2,768 changes: 2,768 additions & 0 deletions deployments/revnet-core/base_sepolia/REVDeployer.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,772 changes: 2,772 additions & 0 deletions deployments/revnet-core/ethereum/REVDeployer.json

Large diffs are not rendered by default.

2,263 changes: 2,263 additions & 0 deletions deployments/revnet-core/ethereum/REVLoans.json

Large diffs are not rendered by default.

2,768 changes: 2,768 additions & 0 deletions deployments/revnet-core/optimism/REVDeployer.json

Large diffs are not rendered by default.

2,259 changes: 2,259 additions & 0 deletions deployments/revnet-core/optimism/REVLoans.json

Large diffs are not rendered by default.

2,768 changes: 2,768 additions & 0 deletions deployments/revnet-core/optimism_sepolia/REVDeployer.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,768 changes: 2,768 additions & 0 deletions deployments/revnet-core/sepolia/REVDeployer.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ethereum ="${RPC_ETHEREUM_MAINNET}"
optimism = "${RPC_OPTIMISM_MAINNET}"
polygon = "${RPC_POLYGON_MUMBAI}"
arbitrum = "${RPC_ARBITRUM_MAINNET}"
base = "${RPC_BASE_MAINET}"
base = "${RPC_BASE_MAINNET}"
arbitrum_sepolia = "${RPC_ARBITRUM_SEPOLIA}"
ethereum_sepolia ="${RPC_ETHEREUM_SEPOLIA}"
optimism_sepolia = "${RPC_OPTIMISM_SEPOLIA}"
Expand Down
478 changes: 317 additions & 161 deletions package-lock.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rev-net/core",
"version": "0.0.45",
"version": "1.0.0",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -11,17 +11,17 @@
"coverage:integration": "forge coverage --match-path \"./src/*.sol\" --report lcov --report summary",
"deploy:mainnets": "source ./.env && export START_TIME=$(date +%s) && npx sphinx propose ./script/Deploy.s.sol --networks mainnets",
"deploy:testnets": "source ./.env && export START_TIME=$(date +%s) && npx sphinx propose ./script/Deploy.s.sol --networks testnets",
"artifacts": "source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'revnet-core-testnet'"
"artifacts": "source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'revnet-core'"
},
"dependencies": {
"@bananapus/721-hook": "^0.0.32",
"@bananapus/buyback-hook": "^0.0.27",
"@bananapus/core": "^0.0.45",
"@bananapus/ownable": "^0.0.8",
"@bananapus/721-hook": "^1.0.0",
"@bananapus/buyback-hook": "^1.0.0",
"@bananapus/core": "^1.0.0",
"@bananapus/ownable": "^0.0.9",
"@bananapus/permission-ids": "^0.0.17",
"@bananapus/suckers": "^0.0.32",
"@bananapus/swap-terminal": "^0.0.27",
"@croptop/core": "^0.0.30",
"@bananapus/suckers": "^1.0.2",
"@bananapus/swap-terminal": "^1.0.0",
"@croptop/core": "^1.0.0",
"@openzeppelin/contracts": "^5.2.0"
},
"devDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ contract DeployScript is Script, Sphinx {
bytes32 REVLOANS_SALT = "_REV_LOANS_SALT_";
address LOANS_OWNER;
address OPERATOR;
uint256 TIME_UNTIL_START = 1 days;
uint256 TIME_UNTIL_START = 3 days;
address TRUSTED_FORWARDER;
IPermit2 PERMIT2;

Expand Down Expand Up @@ -121,7 +121,8 @@ contract DeployScript is Script, Sphinx {
// Because of the cross-chain allowing components of nana-core, all chains require the same start_time,
// for this reason we can't rely on the simulations block.time and we need a shared timestamp across all
// simulations.
uint256 _realTimestamp = vm.envUint("START_TIME");
// uint256 _realTimestamp = vm.envUint("START_TIME");
uint256 _realTimestamp = 1_739_830_244; // timestamp hardcoded at time of deploy.
if (_realTimestamp <= block.timestamp - TIME_UNTIL_START) {
revert("Something went wrong while setting the 'START_TIME' environment variable.");
}
Expand Down
4 changes: 2 additions & 2 deletions script/helpers/RevnetCoreDeploymentLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ library RevnetCoreDeploymentLib {
returns (RevnetCoreDeployment memory deployment)
{
deployment.basic_deployer =
IREVDeployer(_getDeploymentAddress(path, "revnet-core-testnet", network_name, "REVDeployer"));
IREVDeployer(_getDeploymentAddress(path, "revnet-core", network_name, "REVDeployer"));

deployment.loans = IREVLoans(_getDeploymentAddress(path, "revnet-core-testnet", network_name, "REVLoans"));
deployment.loans = IREVLoans(_getDeploymentAddress(path, "revnet-core", network_name, "REVLoans"));
}

/// @notice Get the address of a contract that was deployed by the Deploy script.
Expand Down
Loading
Loading