Skip to content
Open
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
.DS_Store

/tests/.bin
/tests/.latest.json
/tests/.latest.json
CLAUDE.md
File renamed without changes.
232 changes: 232 additions & 0 deletions abis/spell4_2_0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
[
{
"inputs": [
{
"internalType": "bool",
"name": "_mainnet",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "TestError",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "contract IRToken",
"name": "rToken",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newGovernor",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newTimelock",
"type": "address"
}
],
"name": "NewGovernanceDeployed",
"type": "event"
},
{
"inputs": [],
"name": "NEW_VERSION_HASH",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "PRIOR_VERSION_HASH",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IERC20",
"name": "",
"type": "address"
}
],
"name": "assets",
"outputs": [
{
"internalType": "contract Asset",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IRToken",
"name": "",
"type": "address"
}
],
"name": "cast",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IRToken",
"name": "rToken",
"type": "address"
},
{
"internalType": "contract Governance",
"name": "oldGovernor",
"type": "address"
},
{
"internalType": "address[]",
"name": "guardians",
"type": "address[]"
}
],
"name": "castSpell",
"outputs": [
{
"internalType": "address",
"name": "newGovernor",
"type": "address"
},
{
"internalType": "address",
"name": "newTimelock",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "deployer",
"outputs": [
{
"internalType": "contract IDeployer",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "mainnet",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IRToken",
"name": "",
"type": "address"
}
],
"name": "newGovs",
"outputs": [
{
"internalType": "contract IGovernor",
"name": "anastasius",
"type": "address"
},
{
"internalType": "contract TimelockController",
"name": "timelock",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "registries",
"outputs": [
{
"internalType": "contract VersionRegistry",
"name": "versionRegistry",
"type": "address"
},
{
"internalType": "contract AssetPluginRegistry",
"name": "assetPluginRegistry",
"type": "address"
},
{
"internalType": "contract DAOFeeRegistry",
"name": "daoFeeRegistry",
"type": "address"
},
{
"internalType": "contract ITrustedFillerRegistry",
"name": "trustedFillerRegistry",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "version",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
]
20 changes: 20 additions & 0 deletions networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,35 @@
"address": "0xFd6CC4F251eaE6d02f9F7B41D1e80464D3d2F377",
"startBlock": 16680990
},
"TestDeployer": {
"address": "0x8fcbd0baaeb442f1f3f374fcb63933e6d4cb8710",
"startBlock": 23992760
},
"DeployerRegistry": {
"address": "0xD85Fac03804a3e44D29c494f3761D11A2262cBBe",
"startBlock": 16680990
},
"spell4_2_0": {
"address": "0xbFf761D367291281f3c4DB4Bda2C591d6DDE3601",
"startBlock": 23992880
}
},
"base": {
"Deployer": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": 2000063551
},
"TestDeployer": {
"address": "0x5705F85A05c8b57818663C7AB6a11f88323a1A57",
"startBlock": 39353460
},
"DeployerRegistry": {
"address": "0x1265Ec05FD621d82F224814902c925a600307fb3",
"startBlock": 4521504
},
"spell4_2_0": {
"address": "0xB57DB893c95e50f67A62B8dcE411D8e06FF224E1",
"startBlock": 39354176
}
},
"arbitrum-one": {
Expand All @@ -27,6 +43,10 @@
"DeployerRegistry": {
"address": "0x19927e8bF2dB907Bad30cc974dde2b13aC2FB65E",
"startBlock": 205179115
},
"spell4_2_0": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": 2000063551
}
}
}
2 changes: 2 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"name": "reserve",
"license": "UNLICENSED",
"version": "4.2.0",
"scripts": {
"codegen": "graph codegen",
"build": "graph build",
"deploy": "graph deploy --studio reserve",
"create-local": "graph create --node http://127.0.0.1:8020/ lcamargof/reserve",
"remove-local": "graph remove --node http://127.0.0.1:8020/ lcamargof/reserve",
"deploy-local": "graph deploy --node http://127.0.0.1:8020/ --ipfs http://127.0.0.1:5001 lcamargof/reserve",
"deploy-testnet": "graph deploy --product hosted-service lcamargof/reserve-test"
"deploy:mainnet": "node scripts/deploy.js --network mainnet",
"deploy:base": "node scripts/deploy.js --network base",
"deploy:arbitrum": "node scripts/deploy.js --network arbitrum-one",
"deploy:all": "node scripts/deploy-all.js",
"deploy": "node scripts/deploy-interactive.js"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.56.0",
Expand Down
Loading