This repository was archived by the owner on Jan 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-25
lines changed Expand file tree Collapse file tree 4 files changed +10
-25
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ contract CoreAccounting is
81
81
address [] _tokenAddresses ,
82
82
uint [] _quantities
83
83
)
84
- public
84
+ external
85
85
isValidBatchTransaction (_tokenAddresses, _quantities)
86
86
{
87
87
// For each token and quantity pair, run deposit function
@@ -104,7 +104,7 @@ contract CoreAccounting is
104
104
address [] _tokenAddresses ,
105
105
uint [] _quantities
106
106
)
107
- public
107
+ external
108
108
isValidBatchTransaction (_tokenAddresses, _quantities)
109
109
{
110
110
// For each token and quantity pair, run withdraw function
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ contract CoreFactory is
73
73
string _name ,
74
74
string _symbol
75
75
)
76
- public
76
+ external
77
77
isValidFactory (_factoryAddress)
78
78
returns (address )
79
79
{
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ contract CoreIssuance is
74
74
address _setAddress ,
75
75
uint _quantity
76
76
)
77
- public
77
+ external
78
78
isValidSet (_setAddress)
79
79
isPositiveQuantity (_quantity)
80
80
isNaturalUnitMultiple (_quantity, _setAddress)
@@ -155,7 +155,7 @@ contract CoreIssuance is
155
155
address _setAddress ,
156
156
uint _quantity
157
157
)
158
- public
158
+ external
159
159
isValidSet (_setAddress)
160
160
isPositiveQuantity (_quantity)
161
161
isNaturalUnitMultiple (_quantity, _setAddress)
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ pragma solidity 0.4.24;
86
86
address _setAddress ,
87
87
uint _quantity
88
88
)
89
- public ;
89
+ external ;
90
90
91
91
/**
92
92
* Function to convert Set Tokens into underlying components
@@ -98,7 +98,7 @@ pragma solidity 0.4.24;
98
98
address _setAddress ,
99
99
uint _quantity
100
100
)
101
- public ;
101
+ external ;
102
102
103
103
/**
104
104
* Deposit multiple tokens to the vault. Quantities should be in the
@@ -111,7 +111,7 @@ pragma solidity 0.4.24;
111
111
address [] _tokenAddresses ,
112
112
uint [] _quantities
113
113
)
114
- public ;
114
+ external ;
115
115
116
116
/**
117
117
* Withdraw multiple tokens from the vault. Quantities should be in the
@@ -124,7 +124,7 @@ pragma solidity 0.4.24;
124
124
address [] _tokenAddresses ,
125
125
uint [] _quantities
126
126
)
127
- public ;
127
+ external ;
128
128
129
129
/**
130
130
* Deposit any quantity of tokens into the vault.
@@ -169,22 +169,7 @@ pragma solidity 0.4.24;
169
169
string _name ,
170
170
string _symbol
171
171
)
172
- public
172
+ external
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
- */
182
- function calculateTransferValue (
183
- uint _componentUnits ,
184
- uint _naturalUnit ,
185
- uint _quantity
186
- )
187
- pure
188
- internal
189
- returns (uint );
190
175
}
You can’t perform that action at this time.
0 commit comments