@@ -70,10 +70,20 @@ public class HumanStandardToken extends Contract {
7070 Arrays .<TypeReference <?>>asList (new TypeReference <Address >(true ) {}, new TypeReference <Address >(true ) {}, new TypeReference <Uint256 >() {}));
7171 ;
7272
73+ @ Deprecated
74+ protected HumanStandardToken (String contractAddress , Web3j web3j , Credentials credentials , BigInteger gasPrice , BigInteger gasLimit ) {
75+ super (BINARY , contractAddress , web3j , credentials , gasPrice , gasLimit );
76+ }
77+
7378 protected HumanStandardToken (String contractAddress , Web3j web3j , Credentials credentials , ContractGasProvider contractGasProvider ) {
7479 super (BINARY , contractAddress , web3j , credentials , contractGasProvider );
7580 }
7681
82+ @ Deprecated
83+ protected HumanStandardToken (String contractAddress , Web3j web3j , TransactionManager transactionManager , BigInteger gasPrice , BigInteger gasLimit ) {
84+ super (BINARY , contractAddress , web3j , transactionManager , gasPrice , gasLimit );
85+ }
86+
7787 protected HumanStandardToken (String contractAddress , Web3j web3j , TransactionManager transactionManager , ContractGasProvider contractGasProvider ) {
7888 super (BINARY , contractAddress , web3j , transactionManager , contractGasProvider );
7989 }
@@ -166,6 +176,23 @@ public RemoteCall<BigInteger> allowance(String _owner, String _spender) {
166176 return executeRemoteCallSingleValueReturn (function , BigInteger .class );
167177 }
168178
179+ public static RemoteCall <HumanStandardToken > deploy (Web3j web3j , Credentials credentials , ContractGasProvider contractGasProvider , BigInteger _initialAmount , String _tokenName , BigInteger _decimalUnits , String _tokenSymbol ) {
180+ String encodedConstructor = FunctionEncoder .encodeConstructor (Arrays .<Type >asList (new org .web3j .abi .datatypes .generated .Uint256 (_initialAmount ),
181+ new org .web3j .abi .datatypes .Utf8String (_tokenName ),
182+ new org .web3j .abi .datatypes .generated .Uint8 (_decimalUnits ),
183+ new org .web3j .abi .datatypes .Utf8String (_tokenSymbol )));
184+ return deployRemoteCall (HumanStandardToken .class , web3j , credentials , contractGasProvider , BINARY , encodedConstructor );
185+ }
186+
187+ public static RemoteCall <HumanStandardToken > deploy (Web3j web3j , TransactionManager transactionManager , ContractGasProvider contractGasProvider , BigInteger _initialAmount , String _tokenName , BigInteger _decimalUnits , String _tokenSymbol ) {
188+ String encodedConstructor = FunctionEncoder .encodeConstructor (Arrays .<Type >asList (new org .web3j .abi .datatypes .generated .Uint256 (_initialAmount ),
189+ new org .web3j .abi .datatypes .Utf8String (_tokenName ),
190+ new org .web3j .abi .datatypes .generated .Uint8 (_decimalUnits ),
191+ new org .web3j .abi .datatypes .Utf8String (_tokenSymbol )));
192+ return deployRemoteCall (HumanStandardToken .class , web3j , transactionManager , contractGasProvider , BINARY , encodedConstructor );
193+ }
194+
195+ @ Deprecated
169196 public static RemoteCall <HumanStandardToken > deploy (Web3j web3j , Credentials credentials , BigInteger gasPrice , BigInteger gasLimit , BigInteger _initialAmount , String _tokenName , BigInteger _decimalUnits , String _tokenSymbol ) {
170197 String encodedConstructor = FunctionEncoder .encodeConstructor (Arrays .<Type >asList (new org .web3j .abi .datatypes .generated .Uint256 (_initialAmount ),
171198 new org .web3j .abi .datatypes .Utf8String (_tokenName ),
@@ -174,6 +201,7 @@ public static RemoteCall<HumanStandardToken> deploy(Web3j web3j, Credentials cre
174201 return deployRemoteCall (HumanStandardToken .class , web3j , credentials , gasPrice , gasLimit , BINARY , encodedConstructor );
175202 }
176203
204+ @ Deprecated
177205 public static RemoteCall <HumanStandardToken > deploy (Web3j web3j , TransactionManager transactionManager , BigInteger gasPrice , BigInteger gasLimit , BigInteger _initialAmount , String _tokenName , BigInteger _decimalUnits , String _tokenSymbol ) {
178206 String encodedConstructor = FunctionEncoder .encodeConstructor (Arrays .<Type >asList (new org .web3j .abi .datatypes .generated .Uint256 (_initialAmount ),
179207 new org .web3j .abi .datatypes .Utf8String (_tokenName ),
@@ -252,6 +280,16 @@ public Observable<ApprovalEventResponse> approvalEventObservable(DefaultBlockPar
252280 return approvalEventObservable (filter );
253281 }
254282
283+ @ Deprecated
284+ public static HumanStandardToken load (String contractAddress , Web3j web3j , Credentials credentials , BigInteger gasPrice , BigInteger gasLimit ) {
285+ return new HumanStandardToken (contractAddress , web3j , credentials , gasPrice , gasLimit );
286+ }
287+
288+ @ Deprecated
289+ public static HumanStandardToken load (String contractAddress , Web3j web3j , TransactionManager transactionManager , BigInteger gasPrice , BigInteger gasLimit ) {
290+ return new HumanStandardToken (contractAddress , web3j , transactionManager , gasPrice , gasLimit );
291+ }
292+
255293 public static HumanStandardToken load (String contractAddress , Web3j web3j , Credentials credentials , ContractGasProvider contractGasProvider ) {
256294 return new HumanStandardToken (contractAddress , web3j , credentials , contractGasProvider );
257295 }
0 commit comments