Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
feat(olympus): Add support for boosted liquidity vaults (#2614)
Browse files Browse the repository at this point in the history
* add support for olympus boosted liquidity vaults

* change group id

---------

Co-authored-by: William Poulin <[email protected]>
  • Loading branch information
brightiron and wpoulin authored Apr 25, 2023
1 parent 9b74085 commit 5d19c89
Show file tree
Hide file tree
Showing 11 changed files with 3,710 additions and 9 deletions.
543 changes: 543 additions & 0 deletions src/apps/olympus/contracts/abis/olympus-boosted-liquidity-manager.json

Large diffs are not rendered by default.

193 changes: 193 additions & 0 deletions src/apps/olympus/contracts/abis/olympus-liquidity-registry.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
[
{
"inputs": [
{
"internalType": "contract Kernel",
"name": "kernel_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "caller_",
"type": "address"
}
],
"name": "KernelAdapter_OnlyKernel",
"type": "error"
},
{
"inputs": [],
"name": "LQREG_RemovalMismatch",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "policy_",
"type": "address"
}
],
"name": "Module_PolicyNotPermitted",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "vault",
"type": "address"
}
],
"name": "VaultAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "vault",
"type": "address"
}
],
"name": "VaultRemoved",
"type": "event"
},
{
"inputs": [],
"name": "INIT",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "KEYCODE",
"outputs": [
{
"internalType": "Keycode",
"name": "",
"type": "bytes5"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "VERSION",
"outputs": [
{
"internalType": "uint8",
"name": "major",
"type": "uint8"
},
{
"internalType": "uint8",
"name": "minor",
"type": "uint8"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "activeVaultCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "activeVaults",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "vault_",
"type": "address"
}
],
"name": "addVault",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract Kernel",
"name": "newKernel_",
"type": "address"
}
],
"name": "changeKernel",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "kernel",
"outputs": [
{
"internalType": "contract Kernel",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index_",
"type": "uint256"
},
{
"internalType": "address",
"name": "vault_",
"type": "address"
}
],
"name": "removeVault",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
Loading

0 comments on commit 5d19c89

Please sign in to comment.