use of io.nem.symbol.sdk.openapi.vertx.model.MultisigDTO in project nem2-sdk-java by nemtech.
the class MultisigRepositoryVertxImplTest method createMultisigAccountInfoDTO.
private MultisigAccountInfoDTO createMultisigAccountInfoDTO() {
MultisigAccountInfoDTO dto = new MultisigAccountInfoDTO();
MultisigDTO multisigDto = new MultisigDTO();
multisigDto.setVersion(1);
multisigDto.setAccountAddress(account.getAddress().encoded());
multisigDto.setMinApproval(1L);
multisigDto.setMinRemoval(2L);
multisigDto.setCosignatoryAddresses(Arrays.asList(account1.getAddress().encoded(), account2.getAddress().encoded()));
multisigDto.setMultisigAddresses(Arrays.asList(account2.getAddress().encoded(), account3.getAddress().encoded()));
dto.setMultisig(multisigDto);
return dto;
}
Aggregations