@@ -88,7 +88,7 @@ describe('RedirectForToken Test Suite', function () {
8888
8989 it ( 'should be able to execute name()' , async function ( ) {
9090 const encodedFunc = IERC20 . encodeFunctionData ( 'name()' ) ;
91- const tx = await tokenCreateContract . redirectForToken (
91+ const tx = await tokenCreateContract . redirectForTokenPublic (
9292 tokenAddress ,
9393 encodedFunc ,
9494 ) ;
@@ -99,7 +99,7 @@ describe('RedirectForToken Test Suite', function () {
9999
100100 it ( 'should be able to execute symbol()' , async function ( ) {
101101 const encodedFunc = IERC20 . encodeFunctionData ( 'symbol()' ) ;
102- const tx = await tokenCreateContract . redirectForToken (
102+ const tx = await tokenCreateContract . redirectForTokenPublic (
103103 tokenAddress ,
104104 encodedFunc ,
105105 ) ;
@@ -110,7 +110,7 @@ describe('RedirectForToken Test Suite', function () {
110110
111111 it ( 'should be able to execute decimals()' , async function ( ) {
112112 const encodedFunc = IERC20 . encodeFunctionData ( 'decimals()' ) ;
113- const tx = await tokenCreateContract . redirectForToken (
113+ const tx = await tokenCreateContract . redirectForTokenPublic (
114114 tokenAddress ,
115115 encodedFunc ,
116116 ) ;
@@ -121,7 +121,7 @@ describe('RedirectForToken Test Suite', function () {
121121
122122 it ( 'should be able to execute totalSupply()' , async function ( ) {
123123 const encodedFunc = IERC20 . encodeFunctionData ( 'totalSupply()' ) ;
124- const tx = await tokenCreateContract . redirectForToken (
124+ const tx = await tokenCreateContract . redirectForTokenPublic (
125125 tokenAddress ,
126126 encodedFunc ,
127127 ) ;
@@ -134,7 +134,7 @@ describe('RedirectForToken Test Suite', function () {
134134 const encodedFuncSigner0 = IERC20 . encodeFunctionData ( 'balanceOf(address)' , [
135135 signers [ 0 ] . address ,
136136 ] ) ;
137- const tx0 = await tokenCreateContract . redirectForToken (
137+ const tx0 = await tokenCreateContract . redirectForTokenPublic (
138138 tokenAddress ,
139139 encodedFuncSigner0 ,
140140 ) ;
@@ -145,7 +145,7 @@ describe('RedirectForToken Test Suite', function () {
145145 const encodedFuncSigner1 = IERC20 . encodeFunctionData ( 'balanceOf(address)' , [
146146 signers [ 1 ] . address ,
147147 ] ) ;
148- const tx1 = await tokenCreateContract . redirectForToken (
148+ const tx1 = await tokenCreateContract . redirectForTokenPublic (
149149 tokenAddress ,
150150 encodedFuncSigner1 ,
151151 ) ;
@@ -159,7 +159,7 @@ describe('RedirectForToken Test Suite', function () {
159159 signers [ 1 ] . address ,
160160 amount ,
161161 ] ) ;
162- const tx = await tokenCreateContract . redirectForToken (
162+ const tx = await tokenCreateContract . redirectForTokenPublic (
163163 tokenAddress ,
164164 encodedFunc ,
165165 Constants . GAS_LIMIT_10_000_000 ,
@@ -173,7 +173,7 @@ describe('RedirectForToken Test Suite', function () {
173173 'allowance(address,address)' ,
174174 [ await tokenCreateContract . getAddress ( ) , signers [ 1 ] . address ] ,
175175 ) ;
176- const tx = await tokenCreateContract . redirectForToken (
176+ const tx = await tokenCreateContract . redirectForTokenPublic (
177177 tokenAddress ,
178178 encodedFunc ,
179179 Constants . GAS_LIMIT_10_000_000 ,
@@ -198,7 +198,7 @@ describe('RedirectForToken Test Suite', function () {
198198 signers [ 1 ] . address ,
199199 amount ,
200200 ] ) ;
201- const tx = await tokenCreateContract . redirectForToken (
201+ const tx = await tokenCreateContract . redirectForTokenPublic (
202202 tokenAddress ,
203203 encodedFunc ,
204204 ) ;
@@ -237,7 +237,7 @@ describe('RedirectForToken Test Suite', function () {
237237 'transferFrom(address,address,uint256)' ,
238238 [ await tokenCreateContract . getAddress ( ) , signers [ 1 ] . address , amount ] ,
239239 ) ;
240- const tx = await tokenCreateContract . redirectForToken (
240+ const tx = await tokenCreateContract . redirectForTokenPublic (
241241 tokenAddress ,
242242 encodedFunc ,
243243 Constants . GAS_LIMIT_1_000_000 ,
0 commit comments