This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fa3a25
commit 1237097
Showing
20 changed files
with
9,039 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,132 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "smartVault", | ||
"type": "address" | ||
} | ||
], | ||
"name": "getSVTTotalSupply", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address[]", | ||
"name": "strategies", | ||
"type": "address[]" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "riskProvider", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "allocationProvider", | ||
"type": "address" | ||
} | ||
], | ||
"name": "getSmartVaultAllocations", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256[][]", | ||
"name": "allocations", | ||
"type": "uint256[][]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "smartVault", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "doFlush", | ||
"type": "bool" | ||
} | ||
], | ||
"name": "getSmartVaultAssetBalances", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "balances", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "smartVault", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "user", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "nftIds", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"name": "getUserSVTBalance", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "currentBalance", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "smartVault", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "user", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "nftIds", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"name": "getUserSVTsfromNFTs", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "nftSvts", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
] |
Oops, something went wrong.