@Test public void shouldThrowExceptionOnPayloadWithoutVersion() { try { final String withoutVersion = Base58Utils.encodeWithCheck(new byte[]{(byte) 0xAA}); ContractDefinition.newBuilder() .encodedContract(withoutVersion) .amount(Aer.ONE) .build(); fail(); } catch (HerajException e) { } }
public static ContractDefinitionWithNothing newBuilder() { return new ContractDefinition.Builder(); }
ContractDefinition implements Payload { public static ContractDefinitionWithNothing newBuilder() { return new ContractDefinition.Builder(); } }
ContractDefinition implements Payload { public static ContractDefinitionWithNothing newBuilder() { return new ContractDefinition.Builder(); } ContractDefinition(final String encodedContract, final List<Object> args,
      final Aer amount); }
ContractDefinition implements Payload { public static ContractDefinitionWithNothing newBuilder() { return new ContractDefinition.Builder(); } ContractDefinition(final String encodedContract, final List<Object> args,
      final Aer amount); static ContractDefinitionWithNothing newBuilder(); }
ContractDefinition implements Payload { public static ContractDefinitionWithNothing newBuilder() { return new ContractDefinition.Builder(); } ContractDefinition(final String encodedContract, final List<Object> args,
      final Aer amount); static ContractDefinitionWithNothing newBuilder(); static final byte PAYLOAD_VERSION; }