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
8181 address [] _tokenAddresses ,
8282 uint [] _quantities
8383 )
84- public
84+ external
8585 isValidBatchTransaction (_tokenAddresses, _quantities)
8686 {
8787 // For each token and quantity pair, run deposit function
@@ -104,7 +104,7 @@ contract CoreAccounting is
104104 address [] _tokenAddresses ,
105105 uint [] _quantities
106106 )
107- public
107+ external
108108 isValidBatchTransaction (_tokenAddresses, _quantities)
109109 {
110110 // 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
7373 string _name ,
7474 string _symbol
7575 )
76- public
76+ external
7777 isValidFactory (_factoryAddress)
7878 returns (address )
7979 {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ contract CoreIssuance is
7474 address _setAddress ,
7575 uint _quantity
7676 )
77- public
77+ external
7878 isValidSet (_setAddress)
7979 isPositiveQuantity (_quantity)
8080 isNaturalUnitMultiple (_quantity, _setAddress)
@@ -155,7 +155,7 @@ contract CoreIssuance is
155155 address _setAddress ,
156156 uint _quantity
157157 )
158- public
158+ external
159159 isValidSet (_setAddress)
160160 isPositiveQuantity (_quantity)
161161 isNaturalUnitMultiple (_quantity, _setAddress)
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ pragma solidity 0.4.24;
8686 address _setAddress ,
8787 uint _quantity
8888 )
89- public ;
89+ external ;
9090
9191 /**
9292 * Function to convert Set Tokens into underlying components
@@ -98,7 +98,7 @@ pragma solidity 0.4.24;
9898 address _setAddress ,
9999 uint _quantity
100100 )
101- public ;
101+ external ;
102102
103103 /**
104104 * Deposit multiple tokens to the vault. Quantities should be in the
@@ -111,7 +111,7 @@ pragma solidity 0.4.24;
111111 address [] _tokenAddresses ,
112112 uint [] _quantities
113113 )
114- public ;
114+ external ;
115115
116116 /**
117117 * Withdraw multiple tokens from the vault. Quantities should be in the
@@ -124,7 +124,7 @@ pragma solidity 0.4.24;
124124 address [] _tokenAddresses ,
125125 uint [] _quantities
126126 )
127- public ;
127+ external ;
128128
129129 /**
130130 * Deposit any quantity of tokens into the vault.
@@ -169,22 +169,7 @@ pragma solidity 0.4.24;
169169 string _name ,
170170 string _symbol
171171 )
172- public
172+ external
173173 returns (address );
174174
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 );
190175 }
You can’t perform that action at this time.
0 commit comments