Skip to content

Commit

Permalink
1. Added long value constructors to all Solidity Uint/Int wrapper types.
Browse files Browse the repository at this point in the history
2. Fixed indentation of generated Solidity int types.
3. Added long parameter value to DefaultBlockParameterNumber.
  • Loading branch information
conor10 committed May 15, 2017
1 parent 014036e commit cca8c8e
Show file tree
Hide file tree
Showing 1,090 changed files with 7,597 additions and 8,390 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes1.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes1 extends Bytes {
public static final Bytes1 DEFAULT = new Bytes1(new byte[1]);
public static final Bytes1 DEFAULT = new Bytes1(new byte[1]);

public Bytes1(byte[] value) {
super(1, value);
}
public Bytes1(byte[] value) {
super(1, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes10.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes10 extends Bytes {
public static final Bytes10 DEFAULT = new Bytes10(new byte[10]);
public static final Bytes10 DEFAULT = new Bytes10(new byte[10]);

public Bytes10(byte[] value) {
super(10, value);
}
public Bytes10(byte[] value) {
super(10, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes11.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes11 extends Bytes {
public static final Bytes11 DEFAULT = new Bytes11(new byte[11]);
public static final Bytes11 DEFAULT = new Bytes11(new byte[11]);

public Bytes11(byte[] value) {
super(11, value);
}
public Bytes11(byte[] value) {
super(11, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes12.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes12 extends Bytes {
public static final Bytes12 DEFAULT = new Bytes12(new byte[12]);
public static final Bytes12 DEFAULT = new Bytes12(new byte[12]);

public Bytes12(byte[] value) {
super(12, value);
}
public Bytes12(byte[] value) {
super(12, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes13.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes13 extends Bytes {
public static final Bytes13 DEFAULT = new Bytes13(new byte[13]);
public static final Bytes13 DEFAULT = new Bytes13(new byte[13]);

public Bytes13(byte[] value) {
super(13, value);
}
public Bytes13(byte[] value) {
super(13, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes14.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes14 extends Bytes {
public static final Bytes14 DEFAULT = new Bytes14(new byte[14]);
public static final Bytes14 DEFAULT = new Bytes14(new byte[14]);

public Bytes14(byte[] value) {
super(14, value);
}
public Bytes14(byte[] value) {
super(14, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes15.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes15 extends Bytes {
public static final Bytes15 DEFAULT = new Bytes15(new byte[15]);
public static final Bytes15 DEFAULT = new Bytes15(new byte[15]);

public Bytes15(byte[] value) {
super(15, value);
}
public Bytes15(byte[] value) {
super(15, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes16.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes16 extends Bytes {
public static final Bytes16 DEFAULT = new Bytes16(new byte[16]);
public static final Bytes16 DEFAULT = new Bytes16(new byte[16]);

public Bytes16(byte[] value) {
super(16, value);
}
public Bytes16(byte[] value) {
super(16, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes17.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes17 extends Bytes {
public static final Bytes17 DEFAULT = new Bytes17(new byte[17]);
public static final Bytes17 DEFAULT = new Bytes17(new byte[17]);

public Bytes17(byte[] value) {
super(17, value);
}
public Bytes17(byte[] value) {
super(17, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes18.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes18 extends Bytes {
public static final Bytes18 DEFAULT = new Bytes18(new byte[18]);
public static final Bytes18 DEFAULT = new Bytes18(new byte[18]);

public Bytes18(byte[] value) {
super(18, value);
}
public Bytes18(byte[] value) {
super(18, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes19.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes19 extends Bytes {
public static final Bytes19 DEFAULT = new Bytes19(new byte[19]);
public static final Bytes19 DEFAULT = new Bytes19(new byte[19]);

public Bytes19(byte[] value) {
super(19, value);
}
public Bytes19(byte[] value) {
super(19, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes2.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes2 extends Bytes {
public static final Bytes2 DEFAULT = new Bytes2(new byte[2]);
public static final Bytes2 DEFAULT = new Bytes2(new byte[2]);

public Bytes2(byte[] value) {
super(2, value);
}
public Bytes2(byte[] value) {
super(2, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes20.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes20 extends Bytes {
public static final Bytes20 DEFAULT = new Bytes20(new byte[20]);
public static final Bytes20 DEFAULT = new Bytes20(new byte[20]);

public Bytes20(byte[] value) {
super(20, value);
}
public Bytes20(byte[] value) {
super(20, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes21.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes21 extends Bytes {
public static final Bytes21 DEFAULT = new Bytes21(new byte[21]);
public static final Bytes21 DEFAULT = new Bytes21(new byte[21]);

public Bytes21(byte[] value) {
super(21, value);
}
public Bytes21(byte[] value) {
super(21, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes22.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes22 extends Bytes {
public static final Bytes22 DEFAULT = new Bytes22(new byte[22]);
public static final Bytes22 DEFAULT = new Bytes22(new byte[22]);

public Bytes22(byte[] value) {
super(22, value);
}
public Bytes22(byte[] value) {
super(22, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes23.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes23 extends Bytes {
public static final Bytes23 DEFAULT = new Bytes23(new byte[23]);
public static final Bytes23 DEFAULT = new Bytes23(new byte[23]);

public Bytes23(byte[] value) {
super(23, value);
}
public Bytes23(byte[] value) {
super(23, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes24.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes24 extends Bytes {
public static final Bytes24 DEFAULT = new Bytes24(new byte[24]);
public static final Bytes24 DEFAULT = new Bytes24(new byte[24]);

public Bytes24(byte[] value) {
super(24, value);
}
public Bytes24(byte[] value) {
super(24, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes25.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes25 extends Bytes {
public static final Bytes25 DEFAULT = new Bytes25(new byte[25]);
public static final Bytes25 DEFAULT = new Bytes25(new byte[25]);

public Bytes25(byte[] value) {
super(25, value);
}
public Bytes25(byte[] value) {
super(25, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes26.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes26 extends Bytes {
public static final Bytes26 DEFAULT = new Bytes26(new byte[26]);
public static final Bytes26 DEFAULT = new Bytes26(new byte[26]);

public Bytes26(byte[] value) {
super(26, value);
}
public Bytes26(byte[] value) {
super(26, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes27.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes27 extends Bytes {
public static final Bytes27 DEFAULT = new Bytes27(new byte[27]);
public static final Bytes27 DEFAULT = new Bytes27(new byte[27]);

public Bytes27(byte[] value) {
super(27, value);
}
public Bytes27(byte[] value) {
super(27, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes28.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes28 extends Bytes {
public static final Bytes28 DEFAULT = new Bytes28(new byte[28]);
public static final Bytes28 DEFAULT = new Bytes28(new byte[28]);

public Bytes28(byte[] value) {
super(28, value);
}
public Bytes28(byte[] value) {
super(28, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes29.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes29 extends Bytes {
public static final Bytes29 DEFAULT = new Bytes29(new byte[29]);
public static final Bytes29 DEFAULT = new Bytes29(new byte[29]);

public Bytes29(byte[] value) {
super(29, value);
}
public Bytes29(byte[] value) {
super(29, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes3.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes3 extends Bytes {
public static final Bytes3 DEFAULT = new Bytes3(new byte[3]);
public static final Bytes3 DEFAULT = new Bytes3(new byte[3]);

public Bytes3(byte[] value) {
super(3, value);
}
public Bytes3(byte[] value) {
super(3, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes30.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes30 extends Bytes {
public static final Bytes30 DEFAULT = new Bytes30(new byte[30]);
public static final Bytes30 DEFAULT = new Bytes30(new byte[30]);

public Bytes30(byte[] value) {
super(30, value);
}
public Bytes30(byte[] value) {
super(30, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes31.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes31 extends Bytes {
public static final Bytes31 DEFAULT = new Bytes31(new byte[31]);
public static final Bytes31 DEFAULT = new Bytes31(new byte[31]);

public Bytes31(byte[] value) {
super(31, value);
}
public Bytes31(byte[] value) {
super(31, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes32.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes32 extends Bytes {
public static final Bytes32 DEFAULT = new Bytes32(new byte[32]);
public static final Bytes32 DEFAULT = new Bytes32(new byte[32]);

public Bytes32(byte[] value) {
super(32, value);
}
public Bytes32(byte[] value) {
super(32, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes4.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes4 extends Bytes {
public static final Bytes4 DEFAULT = new Bytes4(new byte[4]);
public static final Bytes4 DEFAULT = new Bytes4(new byte[4]);

public Bytes4(byte[] value) {
super(4, value);
}
public Bytes4(byte[] value) {
super(4, value);
}
}
8 changes: 4 additions & 4 deletions src/main/java/org/web3j/abi/datatypes/generated/Bytes5.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
* Please use {@link org.web3j.codegen.AbiTypesGenerator} to update.</p>
*/
public class Bytes5 extends Bytes {
public static final Bytes5 DEFAULT = new Bytes5(new byte[5]);
public static final Bytes5 DEFAULT = new Bytes5(new byte[5]);

public Bytes5(byte[] value) {
super(5, value);
}
public Bytes5(byte[] value) {
super(5, value);
}
}
Loading

0 comments on commit cca8c8e

Please sign in to comment.