This repository was archived by the owner on Jan 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
contracts/core/interfaces Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 17
17
pragma solidity 0.4.24 ;
18
18
19
19
/**
20
- * @title IVault
20
+ * @title ICore
21
21
* @author Set Protocol
22
22
*
23
- * The IVault interface provides a light-weight, structured way to interact with the Vault
24
- * contract from another contract.
23
+ * The ICore Contract defines all the functions exposed in the Core through its
24
+ * various extensions and is a light weight way to interact with the contract.
25
25
*/
26
26
27
27
interface ICore {
@@ -172,6 +172,13 @@ pragma solidity 0.4.24;
172
172
public
173
173
returns (address );
174
174
175
+ /**
176
+ * Function to calculate the transfer value of a component given quantity of Set
177
+ *
178
+ * @param _componentUnits The units of the component token
179
+ * @param _naturalUnit The natural unit of the Set token
180
+ * @param _quantity The number of tokens being redeem
181
+ */
175
182
function calculateTransferValue (
176
183
uint _componentUnits ,
177
184
uint _naturalUnit ,
@@ -180,4 +187,4 @@ pragma solidity 0.4.24;
180
187
pure
181
188
internal
182
189
returns (uint );
183
- }
190
+ }
You can’t perform that action at this time.
0 commit comments