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>10.0.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:10.0.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-10.0.0.jar`
- `target/fireblocks-sdk-0.0.0.jar`
- `target/lib/*.jar`


Expand Down
6 changes: 6 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21338,6 +21338,8 @@ components:
enum:
- SEGWIT
- LEGACY
- BASE
- PAYMENT
type: string
legacyAddress:
type: string
Expand Down Expand Up @@ -23906,6 +23908,7 @@ components:

* `SUPPLY_TO_COMPOUND` - Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol.
* `REDEEM_FROM_COMPOUND` - Deprecated since April 1st, 2023. Older transactions may have this as their operation, in case users in the workspace have used the direct integration between Fireblocks and the Compound DeFI protocol.
* `PROGRAM_CALL` - In Solana refers to invoking on-chain programs (smart contracts) to execute transactions and interact with the blockchain.
enum:
- TRANSFER
- BURN
Expand All @@ -23919,6 +23922,7 @@ components:
- WITHDRAW
- REDEEM_FROM_COMPOUND
- SUPPLY_TO_COMPOUND
- PROGRAM_CALL
type: string
TransferPeerPathType:
enum:
Expand Down Expand Up @@ -41855,6 +41859,7 @@ components:
* STAKE - Allows you to allocate and lock certain assets for earning staking rewards.
* RAW - An off-chain message with no predefined format, use it to sign any message with your private key.
* TYPED_MESSAGE - An off-chain message type that follows a predefined format, used to sign specific messages that are not actual transactions.
* PROGRAM_CALL - In Solana refers to invoking on-chain programs (smart contracts) to execute transactions and interact with the blockchain.
enum:
- TRANSFER
- CONTRACT_CALL
Expand All @@ -41866,6 +41871,7 @@ components:
- STAKE
- RAW
- TYPED_MESSAGE
- PROGRAM_CALL
type: string
designatedSigner:
deprecated: true
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 = '10.0.0'
version = '0.0.0'

buildscript {
repositories {
Expand Down
2 changes: 2 additions & 0 deletions docs/GetTransactionOperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@

* `SUPPLY_TO_COMPOUND` (value: `"SUPPLY_TO_COMPOUND"`)

* `PROGRAM_CALL` (value: `"PROGRAM_CALL"`)



3 changes: 2 additions & 1 deletion docs/PolicyRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Policy rule which is enforced on transactions
|------------ | ------------- | ------------- | -------------|
|**operator** | **String** | (deprecated - replaced by \&quot;operators\&quot;) | Defines users who can initiate the type of transaction to which the rule applies. options are * \&quot;*\&quot; - All users are allowed * Specific User id | [optional] |
|**operators** | [**PolicyRuleOperators**](PolicyRuleOperators.md) | | [optional] |
|**transactionType** | [**TransactionTypeEnum**](#TransactionTypeEnum) | Defines the type of transaction to which the rule applies. * TRANSFER - Default. Transfers funds from one account to another * CONTRACT_CALL - Calls a smart contract, mainly for DeFi operations. * APPROVE - Allows a smart contract to withdraw from a designated wallet. * MINT - Perform a mint operation (increase supply) on a supported token * BURN - Perform a burn operation (reduce supply) on a supported token * SUPPLY - Use for DeFi to lend assets * REDEEM - Use for DeFi to get lending back * STAKE - Allows you to allocate and lock certain assets for earning staking rewards. * RAW - An off-chain message with no predefined format, use it to sign any message with your private key. * TYPED_MESSAGE - An off-chain message type that follows a predefined format, used to sign specific messages that are not actual transactions. | [optional] |
|**transactionType** | [**TransactionTypeEnum**](#TransactionTypeEnum) | Defines the type of transaction to which the rule applies. * TRANSFER - Default. Transfers funds from one account to another * CONTRACT_CALL - Calls a smart contract, mainly for DeFi operations. * APPROVE - Allows a smart contract to withdraw from a designated wallet. * MINT - Perform a mint operation (increase supply) on a supported token * BURN - Perform a burn operation (reduce supply) on a supported token * SUPPLY - Use for DeFi to lend assets * REDEEM - Use for DeFi to get lending back * STAKE - Allows you to allocate and lock certain assets for earning staking rewards. * RAW - An off-chain message with no predefined format, use it to sign any message with your private key. * TYPED_MESSAGE - An off-chain message type that follows a predefined format, used to sign specific messages that are not actual transactions. * PROGRAM_CALL - In Solana refers to invoking on-chain programs (smart contracts) to execute transactions and interact with the blockchain. | [optional] |
|**designatedSigner** | **String** | (deprecated - replaced by \&quot;designatedSigners\&quot;) Id representing the user who signs transactions that match a specific rule | [optional] |
|**designatedSigners** | [**PolicyRuleDesignatedSigners**](PolicyRuleDesignatedSigners.md) | | [optional] |
|**type** | [**TypeEnum**](#TypeEnum) | Policy rule type | |
Expand Down Expand Up @@ -54,6 +54,7 @@ Policy rule which is enforced on transactions
| STAKE | &quot;STAKE&quot; |
| RAW | &quot;RAW&quot; |
| TYPED_MESSAGE | &quot;TYPED_MESSAGE&quot; |
| PROGRAM_CALL | &quot;PROGRAM_CALL&quot; |



Expand Down
2 changes: 2 additions & 0 deletions docs/VaultWalletAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
|---- | -----|
| SEGWIT | &quot;SEGWIT&quot; |
| LEGACY | &quot;LEGACY&quot; |
| BASE | &quot;BASE&quot; |
| PAYMENT | &quot;PAYMENT&quot; |



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>10.0.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 @@ -14,7 +14,7 @@

@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
public static final String VERSION = "10.0.0";
public static final String VERSION = "0.0.0";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
* this as their operation, in case users in the workspace have used the direct integration between
* Fireblocks and the Compound DeFI protocol. * &#x60;REDEEM_FROM_COMPOUND&#x60; - Deprecated since
* April 1st, 2023. Older transactions may have this as their operation, in case users in the
* workspace have used the direct integration between Fireblocks and the Compound DeFI protocol.
* workspace have used the direct integration between Fireblocks and the Compound DeFI protocol. *
* &#x60;PROGRAM_CALL&#x60; - In Solana refers to invoking on-chain programs (smart contracts) to
* execute transactions and interact with the blockchain.
*/
public enum GetTransactionOperation {
TRANSFER("TRANSFER"),
Expand All @@ -73,7 +75,9 @@ public enum GetTransactionOperation {

REDEEM_FROM_COMPOUND("REDEEM_FROM_COMPOUND"),

SUPPLY_TO_COMPOUND("SUPPLY_TO_COMPOUND");
SUPPLY_TO_COMPOUND("SUPPLY_TO_COMPOUND"),

PROGRAM_CALL("PROGRAM_CALL");

private String value;

Expand Down
10 changes: 7 additions & 3 deletions src/main/java/com/fireblocks/sdk/model/PolicyRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public class PolicyRule {
* assets for earning staking rewards. * RAW - An off-chain message with no predefined format,
* use it to sign any message with your private key. * TYPED_MESSAGE - An off-chain message type
* that follows a predefined format, used to sign specific messages that are not actual
* transactions.
* transactions. * PROGRAM_CALL - In Solana refers to invoking on-chain programs (smart
* contracts) to execute transactions and interact with the blockchain.
*/
public enum TransactionTypeEnum {
TRANSFER("TRANSFER"),
Expand All @@ -97,7 +98,9 @@ public enum TransactionTypeEnum {

RAW("RAW"),

TYPED_MESSAGE("TYPED_MESSAGE");
TYPED_MESSAGE("TYPED_MESSAGE"),

PROGRAM_CALL("PROGRAM_CALL");

private String value;

Expand Down Expand Up @@ -464,7 +467,8 @@ public PolicyRule transactionType(TransactionTypeEnum transactionType) {
* assets for earning staking rewards. * RAW - An off-chain message with no predefined format,
* use it to sign any message with your private key. * TYPED_MESSAGE - An off-chain message type
* that follows a predefined format, used to sign specific messages that are not actual
* transactions.
* transactions. * PROGRAM_CALL - In Solana refers to invoking on-chain programs (smart
* contracts) to execute transactions and interact with the blockchain.
*
* @return transactionType
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ public class VaultWalletAddress {
public enum AddressFormatEnum {
SEGWIT("SEGWIT"),

LEGACY("LEGACY");
LEGACY("LEGACY"),

BASE("BASE"),

PAYMENT("PAYMENT");

private String value;

Expand Down