This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rari-fuse): Move Rari Fuse to Studio (#499)
- Loading branch information
1 parent
ee4a1bc
commit b2096de
Showing
16 changed files
with
4,477 additions
and
0 deletions.
There are no files selected for viewing
857 changes: 857 additions & 0 deletions
857
src/apps/rari-fuse/contracts/abis/rari-fuse-pool-lens.json
Large diffs are not rendered by default.
Oops, something went wrong.
313 changes: 313 additions & 0 deletions
313
src/apps/rari-fuse/contracts/abis/rari-fuse-pools-directory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,313 @@ | ||
[ | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "previousOwner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "newOwner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "OwnershipTransferred", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "index", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"components": [ | ||
{ "internalType": "string", "name": "name", "type": "string" }, | ||
{ "internalType": "address", "name": "creator", "type": "address" }, | ||
{ | ||
"internalType": "address", | ||
"name": "comptroller", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "blockPosted", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "timestampPosted", | ||
"type": "uint256" | ||
} | ||
], | ||
"indexed": false, | ||
"internalType": "struct FusePoolDirectory.FusePool", | ||
"name": "pool", | ||
"type": "tuple" | ||
} | ||
], | ||
"name": "PoolRegistered", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"name": "deployerWhitelist", | ||
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
"stateMutability": "view", | ||
"type": "function", | ||
"constant": true | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "enforceDeployerWhitelist", | ||
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
"stateMutability": "view", | ||
"type": "function", | ||
"constant": true | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "owner", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function", | ||
"constant": true | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"name": "poolExists", | ||
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
"stateMutability": "view", | ||
"type": "function", | ||
"constant": true | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"name": "pools", | ||
"outputs": [ | ||
{ "internalType": "string", "name": "name", "type": "string" }, | ||
{ "internalType": "address", "name": "creator", "type": "address" }, | ||
{ "internalType": "address", "name": "comptroller", "type": "address" }, | ||
{ "internalType": "uint256", "name": "blockPosted", "type": "uint256" }, | ||
{ | ||
"internalType": "uint256", | ||
"name": "timestampPosted", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function", | ||
"constant": true | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "renounceOwnership", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }], | ||
"name": "transferOwnership", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "_enforceDeployerWhitelist", | ||
"type": "bool" | ||
}, | ||
{ | ||
"internalType": "address[]", | ||
"name": "_deployerWhitelist", | ||
"type": "address[]" | ||
} | ||
], | ||
"name": "initialize", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "_enforceDeployerWhitelist", | ||
"type": "bool" | ||
} | ||
], | ||
"name": "_setDeployerWhitelistEnforcement", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address[]", "name": "deployers", "type": "address[]" }], | ||
"name": "_whitelistDeployers", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "string", "name": "name", "type": "string" }, | ||
{ "internalType": "address", "name": "comptroller", "type": "address" } | ||
], | ||
"name": "registerPool", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "string", "name": "name", "type": "string" }, | ||
{ | ||
"internalType": "address", | ||
"name": "implementation", | ||
"type": "address" | ||
}, | ||
{ "internalType": "bool", "name": "enforceWhitelist", "type": "bool" }, | ||
{ "internalType": "uint256", "name": "closeFactor", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "maxAssets", "type": "uint256" }, | ||
{ | ||
"internalType": "uint256", | ||
"name": "liquidationIncentive", | ||
"type": "uint256" | ||
}, | ||
{ "internalType": "address", "name": "priceOracle", "type": "address" } | ||
], | ||
"name": "deployPool", | ||
"outputs": [ | ||
{ "internalType": "uint256", "name": "", "type": "uint256" }, | ||
{ "internalType": "address", "name": "", "type": "address" } | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getAllPools", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ "internalType": "string", "name": "name", "type": "string" }, | ||
{ "internalType": "address", "name": "creator", "type": "address" }, | ||
{ | ||
"internalType": "address", | ||
"name": "comptroller", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "blockPosted", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "timestampPosted", | ||
"type": "uint256" | ||
} | ||
], | ||
"internalType": "struct FusePoolDirectory.FusePool[]", | ||
"name": "", | ||
"type": "tuple[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function", | ||
"constant": true | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getPublicPools", | ||
"outputs": [ | ||
{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }, | ||
{ | ||
"components": [ | ||
{ "internalType": "string", "name": "name", "type": "string" }, | ||
{ "internalType": "address", "name": "creator", "type": "address" }, | ||
{ | ||
"internalType": "address", | ||
"name": "comptroller", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "blockPosted", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "timestampPosted", | ||
"type": "uint256" | ||
} | ||
], | ||
"internalType": "struct FusePoolDirectory.FusePool[]", | ||
"name": "", | ||
"type": "tuple[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function", | ||
"constant": true | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "account", "type": "address" }], | ||
"name": "getPoolsByAccount", | ||
"outputs": [ | ||
{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }, | ||
{ | ||
"components": [ | ||
{ "internalType": "string", "name": "name", "type": "string" }, | ||
{ "internalType": "address", "name": "creator", "type": "address" }, | ||
{ | ||
"internalType": "address", | ||
"name": "comptroller", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "blockPosted", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "timestampPosted", | ||
"type": "uint256" | ||
} | ||
], | ||
"internalType": "struct FusePoolDirectory.FusePool[]", | ||
"name": "", | ||
"type": "tuple[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function", | ||
"constant": true | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "account", "type": "address" }], | ||
"name": "getBookmarks", | ||
"outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }], | ||
"stateMutability": "view", | ||
"type": "function", | ||
"constant": true | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "comptroller", "type": "address" }], | ||
"name": "bookmarkPool", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
] |
Oops, something went wrong.