Skip to content

Commit

Permalink
VaultRegistry and Registry upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
scobru committed Jun 18, 2024
1 parent ccf98f9 commit 103641b
Show file tree
Hide file tree
Showing 44 changed files with 1,976 additions and 84 deletions.
944 changes: 944 additions & 0 deletions .openzeppelin/polygon.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion artifacts/build-info/0a72893d7389f0232393a0813d0d845e.json

This file was deleted.

1 change: 0 additions & 1 deletion artifacts/build-info/4fb580218639ed8c0dc4a05c28659b60.json

This file was deleted.

1 change: 0 additions & 1 deletion artifacts/build-info/68aa85b277d7ecb3a9650f0a5debed5c.json

This file was deleted.

1 change: 1 addition & 0 deletions artifacts/build-info/840a3076b8d903c562302f16a5b58493.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion artifacts/build-info/b44ef8b4d8e0e5fa8bd39aa6ad67c41a.json

This file was deleted.

1 change: 1 addition & 0 deletions artifacts/build-info/e809c9006ab9b6031c6f8784372efc6b.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "..\\..\\..\\build-info\\69835c00a496a85c92d338d861531839.json"
"buildInfo": "..\\..\\..\\build-info\\e809c9006ab9b6031c6f8784372efc6b.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,19 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getBaluniVaultRegistry",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMAX_BPS_FEE",
Expand Down Expand Up @@ -367,6 +380,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_baluniPoolRegistry",
"type": "address"
}
],
"name": "setBaluniVaultRegistry",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "..\\..\\..\\build-info\\e809c9006ab9b6031c6f8784372efc6b.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
{
"_format": "hh-sol-artifact-1",
"contractName": "IBaluniV1yVault",
"sourceName": "contracts/interfaces/IBaluniV1yVault.sol",
"abi": [
{
"inputs": [],
"name": "accumulatedAssetB",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "baseAsset",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "buy",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "to",
"type": "address"
}
],
"name": "deposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "pause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "quoteAsset",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "registry",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalDeposits",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalValuation",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "unitPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "unpause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "shares",
"type": "uint256"
},
{
"internalType": "address",
"name": "to",
"type": "address"
}
],
"name": "withdraw",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "yearnVault",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "..\\..\\..\\build-info\\b44ef8b4d8e0e5fa8bd39aa6ad67c41a.json"
"buildInfo": "..\\..\\..\\build-info\\e809c9006ab9b6031c6f8784372efc6b.json"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "..\\..\\..\\build-info\\69835c00a496a85c92d338d861531839.json"
"buildInfo": "..\\..\\..\\build-info\\e809c9006ab9b6031c6f8784372efc6b.json"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "..\\..\\..\\build-info\\0a72893d7389f0232393a0813d0d845e.json"
"buildInfo": "..\\..\\..\\build-info\\e809c9006ab9b6031c6f8784372efc6b.json"
}
Loading

0 comments on commit 103641b

Please sign in to comment.