Skip to content
Merged

Dev #70

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
4 changes: 2 additions & 2 deletions artifacts/contracts/OrionConfig.sol/OrionConfig.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,23 @@
},
{
"internalType": "uint256",
"name": "amount",
"name": "sharesAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxUnderlyingAmount",
"type": "uint256"
}
],
"name": "buy",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "executionUnderlyingAmount",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand All @@ -30,12 +41,23 @@
},
{
"internalType": "uint256",
"name": "amount",
"name": "sharesAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minUnderlyingAmount",
"type": "uint256"
}
],
"name": "sell",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "executionUnderlyingAmount",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,35 +91,75 @@
},
{
"inputs": [],
"name": "getBuyingOrders",
"name": "getOrders",
"outputs": [
{
"internalType": "address[]",
"name": "",
"name": "sellingTokens",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "",
"name": "sellingAmounts",
"type": "uint256[]"
},
{
"internalType": "address[]",
"name": "buyingTokens",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "buyingAmounts",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "sellingEstimatedUnderlyingAmounts",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "buyingEstimatedUnderlyingAmounts",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getSellingOrders",
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getPriceOf",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
},
"internalType": "uint256",
"name": "price",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
"internalType": "address",
"name": "vault",
"type": "address"
}
],
"name": "getVaultTotalAssetsForFulfillRedeem",
"outputs": [
{
"internalType": "uint256",
"name": "totalAssets",
"type": "uint256"
}
],
"stateMutability": "view",
Expand Down Expand Up @@ -177,6 +217,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "int256",
"name": "deltaAmount",
"type": "int256"
}
],
"name": "updateBufferAmount",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,35 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "pointInTimeTotalAssets",
"type": "uint256"
},
{
"internalType": "enum Math.Rounding",
"name": "rounding",
"type": "uint8"
}
],
"name": "convertToSharesWithPITTotalAssets",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "curator",
Expand Down Expand Up @@ -625,14 +654,26 @@
"type": "function"
},
{
"inputs": [],
"inputs": [
{
"internalType": "uint256",
"name": "depositTotalAssets",
"type": "uint256"
}
],
"name": "fulfillDeposit",
Comment thread
matteoettam09 marked this conversation as resolved.
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"inputs": [
{
"internalType": "uint256",
"name": "redeemTotalAssets",
"type": "uint256"
}
],
"name": "fulfillRedeem",
"outputs": [],
"stateMutability": "nonpayable",
Expand Down Expand Up @@ -1128,13 +1169,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "updateHighWaterMark",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,35 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "pointInTimeTotalAssets",
"type": "uint256"
},
{
"internalType": "enum Math.Rounding",
"name": "rounding",
"type": "uint8"
}
],
"name": "convertToSharesWithPITTotalAssets",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "curator",
Expand Down Expand Up @@ -602,14 +631,26 @@
"type": "function"
},
{
"inputs": [],
"inputs": [
{
"internalType": "uint256",
"name": "depositTotalAssets",
"type": "uint256"
}
],
"name": "fulfillDeposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
Comment thread
matteoettam09 marked this conversation as resolved.
{
"inputs": [],
"inputs": [
{
"internalType": "uint256",
"name": "redeemTotalAssets",
"type": "uint256"
}
],
"name": "fulfillRedeem",
"outputs": [],
"stateMutability": "nonpayable",
Expand Down Expand Up @@ -1087,13 +1128,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "updateHighWaterMark",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
52 changes: 43 additions & 9 deletions artifacts/contracts/interfaces/IOrionVault.sol/IOrionVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,35 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "assets",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "pointInTimeTotalAssets",
"type": "uint256"
},
{
"internalType": "enum Math.Rounding",
"name": "rounding",
"type": "uint8"
}
],
"name": "convertToSharesWithPITTotalAssets",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "curator",
Expand Down Expand Up @@ -602,14 +631,26 @@
"type": "function"
},
{
"inputs": [],
"inputs": [
{
"internalType": "uint256",
"name": "depositTotalAssets",
"type": "uint256"
}
],
"name": "fulfillDeposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
Comment thread
matteoettam09 marked this conversation as resolved.
{
"inputs": [],
"inputs": [
{
"internalType": "uint256",
"name": "redeemTotalAssets",
"type": "uint256"
}
],
"name": "fulfillRedeem",
"outputs": [],
"stateMutability": "nonpayable",
Expand Down Expand Up @@ -1026,13 +1067,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "updateHighWaterMark",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
Loading