Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.fireblocks.sdk</groupId>
<artifactId>fireblocks-sdk</artifactId>
<version>12.1.0</version>
<version>0.0.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -42,7 +42,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "com.fireblocks.sdk:fireblocks-sdk:12.1.0"
compile "com.fireblocks.sdk:fireblocks-sdk:0.0.0"
```

### Others
Expand All @@ -55,7 +55,7 @@ mvn clean package

Then manually install the following JARs:

- `target/fireblocks-sdk-12.1.0.jar`
- `target/fireblocks-sdk-0.0.0.jar`
- `target/lib/*.jar`


Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'com.diffplug.spotless'

group = 'com.fireblocks.sdk'
version = '12.1.0'
version = '0.0.0'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>fireblocks-sdk</artifactId>
<packaging>jar</packaging>
<name>fireblocks-sdk</name>
<version>12.1.0</version>
<version>0.0.0</version>
<url>https://github.com/fireblocks/java-sdk</url>
<description>The Fireblocks Official SDK is a comprehensive software development kit that enables seamless integration and interaction with the Fireblocks platform. Fireblocks is a cutting-edge blockchain infrastructure platform that provides secure and scalable solutions for managing digital assets and transactions.
This SDK empowers developers to build robust applications that can interact with the Fireblocks platform&#39;s features, including creating and managing vault accounts, initiating secure transactions, managing assets, and more. It abstracts complex interactions with the Fireblocks API, making it easier for developers to leverage the platform&#39;s capabilities while adhering to best practices in security and efficiency.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fireblocks/sdk/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
public class Configuration {
public static final String VERSION = "12.1.0";
public static final String VERSION = "0.0.0";

private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/fireblocks/sdk/model/AbiFunction.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ public static TypeEnum fromValue(String value) {
@jakarta.annotation.Nonnull private TypeEnum type;

public static final String JSON_PROPERTY_INPUTS = "inputs";
@jakarta.annotation.Nullable private List<Parameter> inputs = new ArrayList<>();
@jakarta.annotation.Nullable private List<Parameter> inputs;

public static final String JSON_PROPERTY_OUTPUTS = "outputs";
@jakarta.annotation.Nullable private List<Parameter> outputs = new ArrayList<>();
@jakarta.annotation.Nullable private List<Parameter> outputs;

public static final String JSON_PROPERTY_DESCRIPTION = "description";
@jakarta.annotation.Nullable private String description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class AccountBasedAccessProvider {
@jakarta.annotation.Nonnull private Boolean connected;

public static final String JSON_PROPERTY_ACCOUNTS = "accounts";
@jakarta.annotation.Nullable private List<AccountBase> accounts = new ArrayList<>();
@jakarta.annotation.Nullable private List<AccountBase> accounts;

public AccountBasedAccessProvider() {}

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/fireblocks/sdk/model/AccountConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public class AccountConfig {
@jakarta.annotation.Nonnull private AccountType2 type;

public static final String JSON_PROPERTY_SUB_TYPE = "subType";
@jakarta.annotation.Nullable private List<AccountIdentifier> subType = new ArrayList<>();
@jakarta.annotation.Nullable private List<AccountIdentifier> subType;

public static final String JSON_PROPERTY_IDS = "ids";
@jakarta.annotation.Nullable private List<AccountIdentifier> ids = new ArrayList<>();
@jakarta.annotation.Nullable private List<AccountIdentifier> ids;

public static final String JSON_PROPERTY_OPERATOR = "operator";
@jakarta.annotation.Nonnull private PolicyOperator operator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class AddAbiRequestDto {
@jakarta.annotation.Nonnull private String baseAssetId;

public static final String JSON_PROPERTY_ABI = "abi";
@jakarta.annotation.Nonnull private List<AbiFunction> abi = new ArrayList<>();
@jakarta.annotation.Nonnull private List<AbiFunction> abi;

public static final String JSON_PROPERTY_NAME = "name";
@jakarta.annotation.Nullable private String name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
comments = "Generator version: 7.14.0")
public class ApiKeysPaginatedResponse {
public static final String JSON_PROPERTY_DATA = "data";
@jakarta.annotation.Nonnull private List<ApiKey> data = new ArrayList<>();
@jakarta.annotation.Nonnull private List<ApiKey> data;

public static final String JSON_PROPERTY_NEXT = "next";
@jakarta.annotation.Nullable private String next;
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/com/fireblocks/sdk/model/ApproversConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ public static OperatorEnum fromValue(String value) {
@jakarta.annotation.Nullable private Boolean allowOperatorAsAuthorizer;

public static final String JSON_PROPERTY_APPROVAL_GROUPS = "approvalGroups";

@jakarta.annotation.Nullable
private List<ApproversConfigApprovalGroupsInner> approvalGroups = new ArrayList<>();
@jakarta.annotation.Nullable private List<ApproversConfigApprovalGroupsInner> approvalGroups;

public ApproversConfig() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ public class ApproversConfigApprovalGroupsInner {
@jakarta.annotation.Nonnull private BigDecimal threshold;

public static final String JSON_PROPERTY_USERS = "users";
@jakarta.annotation.Nullable private List<String> users = new ArrayList<>();
@jakarta.annotation.Nullable private List<String> users;

public static final String JSON_PROPERTY_GROUPS = "groups";
@jakarta.annotation.Nullable private List<String> groups = new ArrayList<>();
@jakarta.annotation.Nullable private List<String> groups;

public ApproversConfigApprovalGroupsInner() {}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fireblocks/sdk/model/AssetConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class AssetConfig {
@jakarta.annotation.Nonnull private Boolean nftTransfer;

public static final String JSON_PROPERTY_ASSET_TYPES = "assetTypes";
@jakarta.annotation.Nullable private List<AssetTypesConfigInner> assetTypes = new ArrayList<>();
@jakarta.annotation.Nullable private List<AssetTypesConfigInner> assetTypes;

public static final String JSON_PROPERTY_OPERATOR = "operator";
@jakarta.annotation.Nullable private PolicyOperator operator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ public class AssetDetailsMetadata {
@jakarta.annotation.Nullable private String website;

public static final String JSON_PROPERTY_MEDIA = "media";
@jakarta.annotation.Nullable private List<AssetMedia> media = new ArrayList<>();
@jakarta.annotation.Nullable private List<AssetMedia> media;

public static final String JSON_PROPERTY_NOTE = "note";
@jakarta.annotation.Nullable private AssetNote note;

public static final String JSON_PROPERTY_FEATURES = "features";
@jakarta.annotation.Nullable private List<AssetFeature> features = new ArrayList<>();
@jakarta.annotation.Nullable private List<AssetFeature> features;

public AssetDetailsMetadata() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class AssetDetailsOnchain {
@jakarta.annotation.Nonnull private BigDecimal decimals;

public static final String JSON_PROPERTY_STANDARDS = "standards";
@jakarta.annotation.Nullable private List<String> standards = new ArrayList<>();
@jakarta.annotation.Nullable private List<String> standards;

public AssetDetailsOnchain() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static InnerEnum fromValue(String value) {
}

public static final String JSON_PROPERTY_USERS = "users";
@jakarta.annotation.Nullable private Map<String, InnerEnum> users = new HashMap<>();
@jakarta.annotation.Nullable private Map<String, InnerEnum> users;

public AuthorizationGroups() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static LogicEnum fromValue(String value) {
@jakarta.annotation.Nullable private LogicEnum logic;

public static final String JSON_PROPERTY_GROUPS = "groups";
@jakarta.annotation.Nullable private List<AuthorizationGroups> groups = new ArrayList<>();
@jakarta.annotation.Nullable private List<AuthorizationGroups> groups;

public AuthorizationInfo() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class BlockchainMetadata {
@jakarta.annotation.Nonnull private Boolean deprecated;

public static final String JSON_PROPERTY_MEDIA = "media";
@jakarta.annotation.Nullable private List<BlockchainMedia> media = new ArrayList<>();
@jakarta.annotation.Nullable private List<BlockchainMedia> media;

public static final String JSON_PROPERTY_EXPLORER = "explorer";
@jakarta.annotation.Nullable private BlockchainExplorer explorer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ public class CollectionTokenMetadataDto {
@jakarta.annotation.Nullable private String externalUrl;

public static final String JSON_PROPERTY_ATTRIBUTES = "attributes";

@jakarta.annotation.Nullable
private List<CollectionTokenMetadataAttributeDto> attributes = new ArrayList<>();
@jakarta.annotation.Nullable private List<CollectionTokenMetadataAttributeDto> attributes;

public CollectionTokenMetadataDto() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ public class ComplianceResultFullPayload {
@jakarta.annotation.Nullable private ComplianceScreeningResultFullPayload tr;

public static final String JSON_PROPERTY_AML_LIST = "amlList";

@jakarta.annotation.Nullable
private List<ComplianceScreeningResultFullPayload> amlList = new ArrayList<>();
@jakarta.annotation.Nullable private List<ComplianceScreeningResultFullPayload> amlList;

public static final String JSON_PROPERTY_STATUS = "status";
@jakarta.annotation.Nullable private ComplianceResultStatusesEnum status;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ public class ComplianceResults {
@jakarta.annotation.Nullable private ComplianceScreeningResult tr;

public static final String JSON_PROPERTY_AML_LIST = "amlList";

@jakarta.annotation.Nullable
private List<ComplianceScreeningResult> amlList = new ArrayList<>();
@jakarta.annotation.Nullable private List<ComplianceScreeningResult> amlList;

public static final String JSON_PROPERTY_STATUS = "status";
@jakarta.annotation.Nullable private ComplianceResultStatusesEnum status;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
comments = "Generator version: 7.14.0")
public class ConnectedAccountBalancesResponse {
public static final String JSON_PROPERTY_DATA = "data";
@jakarta.annotation.Nonnull private List<ConnectedAccountBalances> data = new ArrayList<>();
@jakarta.annotation.Nonnull private List<ConnectedAccountBalances> data;

public static final String JSON_PROPERTY_TOTAL = "total";
@jakarta.annotation.Nullable private Integer total;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,10 @@
comments = "Generator version: 7.14.0")
public class ConnectedAccountManifest {
public static final String JSON_PROPERTY_ASSET_TYPES = "assetTypes";

@jakarta.annotation.Nonnull
private List<ConnectedAccountAssetType> assetTypes = new ArrayList<>();
@jakarta.annotation.Nonnull private List<ConnectedAccountAssetType> assetTypes;

public static final String JSON_PROPERTY_CAPABILITIES = "capabilities";

@jakarta.annotation.Nonnull
private List<ConnectedAccountCapability> capabilities = new ArrayList<>();
@jakarta.annotation.Nonnull private List<ConnectedAccountCapability> capabilities;

public ConnectedAccountManifest() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class ConnectedAccountTradingPair {
public static final String JSON_PROPERTY_SUPPORTED_TYPES = "supportedTypes";

@jakarta.annotation.Nonnull
private List<ConnectedAccountTradingPairSupportedType> supportedTypes = new ArrayList<>();
private List<ConnectedAccountTradingPairSupportedType> supportedTypes;

public ConnectedAccountTradingPair() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
comments = "Generator version: 7.14.0")
public class ConnectedAccountTradingPairsResponse {
public static final String JSON_PROPERTY_DATA = "data";
@jakarta.annotation.Nonnull private List<ConnectedAccountTradingPair> data = new ArrayList<>();
@jakarta.annotation.Nonnull private List<ConnectedAccountTradingPair> data;

public static final String JSON_PROPERTY_TOTAL = "total";
@jakarta.annotation.Nullable private Integer total;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
comments = "Generator version: 7.14.0")
public class ConnectedAccountsResponse {
public static final String JSON_PROPERTY_DATA = "data";
@jakarta.annotation.Nonnull private List<ConnectedAccount> data = new ArrayList<>();
@jakarta.annotation.Nonnull private List<ConnectedAccount> data;

public static final String JSON_PROPERTY_TOTAL = "total";
@jakarta.annotation.Nullable private Integer total;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
comments = "Generator version: 7.14.0")
public class ConnectedSingleAccount {
public static final String JSON_PROPERTY_SUB_ACCOUNTS_IDS = "subAccountsIds";
@jakarta.annotation.Nullable private List<String> subAccountsIds = new ArrayList<>();
@jakarta.annotation.Nullable private List<String> subAccountsIds;

public ConnectedSingleAccount() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class ConnectedSingleAccountResponse {
@jakarta.annotation.Nullable private String parentId;

public static final String JSON_PROPERTY_SUB_ACCOUNTS_IDS = "subAccountsIds";
@jakarta.annotation.Nullable private List<String> subAccountsIds = new ArrayList<>();
@jakarta.annotation.Nullable private List<String> subAccountsIds;

public ConnectedSingleAccountResponse() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@
comments = "Generator version: 7.14.0")
public class ContractAbiResponseDto {
public static final String JSON_PROPERTY_ABI = "abi";

@jakarta.annotation.Nonnull
private List<ContractAbiResponseDtoAbiInner> abi = new ArrayList<>();
@jakarta.annotation.Nonnull private List<ContractAbiResponseDtoAbiInner> abi;

public static final String JSON_PROPERTY_IMPLEMENTATION_ABI = "implementationAbi";
@jakarta.annotation.Nullable private List<AbiFunction> implementationAbi = new ArrayList<>();
@jakarta.annotation.Nullable private List<AbiFunction> implementationAbi;

public ContractAbiResponseDto() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
comments = "Generator version: 7.14.0")
public class ContractAttributes {
public static final String JSON_PROPERTY_USE_CASES = "useCases";
@jakarta.annotation.Nonnull private List<String> useCases = new ArrayList<>();
@jakarta.annotation.Nonnull private List<String> useCases;

public static final String JSON_PROPERTY_STANDARDS = "standards";
@jakarta.annotation.Nonnull private List<String> standards = new ArrayList<>();
@jakarta.annotation.Nonnull private List<String> standards;

public static final String JSON_PROPERTY_AUDITOR = "auditor";
@jakarta.annotation.Nonnull private AuditorData auditor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class ContractDataDecodeRequest {
@jakarta.annotation.Nonnull private ContractDataDecodeDataType dataType;

public static final String JSON_PROPERTY_ABI = "abi";
@jakarta.annotation.Nullable private List<AbiFunction> abi = new ArrayList<>();
@jakarta.annotation.Nullable private List<AbiFunction> abi;

public ContractDataDecodeRequest() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class ContractDataDecodeResponseParams {
@jakarta.annotation.Nonnull private String signature;

public static final String JSON_PROPERTY_ARGS = "args";
@jakarta.annotation.Nonnull private List<ParameterWithValue> args = new ArrayList<>();
@jakarta.annotation.Nonnull private List<ParameterWithValue> args;

public ContractDataDecodeResponseParams() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
comments = "Generator version: 7.14.0")
public class ContractDataDecodedResponse {
public static final String JSON_PROPERTY_RESULT = "result";

@jakarta.annotation.Nonnull
private List<ContractDataDecodeResponseParams> result = new ArrayList<>();
@jakarta.annotation.Nonnull private List<ContractDataDecodeResponseParams> result;

public static final String JSON_PROPERTY_TYPE = "type";
@jakarta.annotation.Nonnull private ContractDataDecodeDataType type;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ContractDataLogDataParam {
@jakarta.annotation.Nonnull private String data;

public static final String JSON_PROPERTY_TOPICS = "topics";
@jakarta.annotation.Nonnull private List<String> topics = new ArrayList<>();
@jakarta.annotation.Nonnull private List<String> topics;

public ContractDataLogDataParam() {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ public class ContractDeployRequest {
@jakarta.annotation.Nonnull private String vaultAccountId;

public static final String JSON_PROPERTY_CONSTRUCTOR_PARAMETERS = "constructorParameters";

@jakarta.annotation.Nullable
private List<ParameterWithValue> constructorParameters = new ArrayList<>();
@jakarta.annotation.Nullable private List<ParameterWithValue> constructorParameters;

public static final String JSON_PROPERTY_USE_GASLESS = "useGasless";
@jakarta.annotation.Nullable private Boolean useGasless;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fireblocks/sdk/model/ContractDoc.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class ContractDoc {
@jakarta.annotation.Nonnull private String kind;

public static final String JSON_PROPERTY_METHODS = "methods";
@jakarta.annotation.Nonnull private Map<String, FunctionDoc> methods = new HashMap<>();
@jakarta.annotation.Nonnull private Map<String, FunctionDoc> methods;

public static final String JSON_PROPERTY_VERSION = "version";
@jakarta.annotation.Nonnull private BigDecimal version;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
comments = "Generator version: 7.14.0")
public class ContractMethodConfig {
public static final String JSON_PROPERTY_METHOD_CALLS = "methodCalls";
@jakarta.annotation.Nonnull private List<String> methodCalls = new ArrayList<>();
@jakarta.annotation.Nonnull private List<String> methodCalls;

/** Operator for method calls */
public enum OperatorEnum {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class ContractTemplateDto {
@jakarta.annotation.Nullable private String longDescription;

public static final String JSON_PROPERTY_ABI = "abi";
@jakarta.annotation.Nonnull private List<AbiFunction> abi = new ArrayList<>();
@jakarta.annotation.Nonnull private List<AbiFunction> abi;

public static final String JSON_PROPERTY_ATTRIBUTES = "attributes";
@jakarta.annotation.Nullable private ContractAttributes attributes;
Expand Down
Loading
Loading